Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
·
7601bc3
1
Parent(s):
ba6667e
添加文件方式设定说明
Browse files
README.md
CHANGED
|
@@ -47,7 +47,7 @@
|
|
| 47 |
- 输入框支持换行,按`shift enter`即可
|
| 48 |
- 在Hugging Face上使用时,建议在右上角**复制Space**再使用,这样能大大减少排队时间,App反应也会更加迅速。
|
| 49 |
<img width="300" alt="image" src="https://user-images.githubusercontent.com/51039745/223447310-e098a1f2-0dcf-48d6-bcc5-49472dd7ca0d.png">
|
| 50 |
-
|
| 51 |
|
| 52 |
## 已知问题
|
| 53 |
|
|
@@ -70,7 +70,7 @@
|
|
| 70 |
|
| 71 |
2. **填写API密钥**
|
| 72 |
|
| 73 |
-
|
| 74 |
|
| 75 |
<details><summary>1. 在图形界面中填写你的API密钥</summary>
|
| 76 |
|
|
@@ -83,6 +83,23 @@
|
|
| 83 |
|
| 84 |
<img width="525" alt="image" src="https://user-images.githubusercontent.com/51039745/223440375-d472de4b-aa7f-4eae-9170-6dc2ed9f5480.png"></details>
|
| 85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
3. **安装依赖**
|
| 87 |
|
| 88 |
```shell
|
|
|
|
| 47 |
- 输入框支持换行,按`shift enter`即可
|
| 48 |
- 在Hugging Face上使用时,建议在右上角**复制Space**再使用,这样能大大减少排队时间,App反应也会更加迅速。
|
| 49 |
<img width="300" alt="image" src="https://user-images.githubusercontent.com/51039745/223447310-e098a1f2-0dcf-48d6-bcc5-49472dd7ca0d.png">
|
| 50 |
+
|
| 51 |
|
| 52 |
## 已知问题
|
| 53 |
|
|
|
|
| 70 |
|
| 71 |
2. **填写API密钥**
|
| 72 |
|
| 73 |
+
以下3种方法任选其一:
|
| 74 |
|
| 75 |
<details><summary>1. 在图形界面中填写你的API密钥</summary>
|
| 76 |
|
|
|
|
| 83 |
|
| 84 |
<img width="525" alt="image" src="https://user-images.githubusercontent.com/51039745/223440375-d472de4b-aa7f-4eae-9170-6dc2ed9f5480.png"></details>
|
| 85 |
|
| 86 |
+
<details><summary>3. 在文件中设定默认密钥、用户名密码</summary>
|
| 87 |
+
|
| 88 |
+
这样设置的密钥可以在项目更新之后保留。
|
| 89 |
+
|
| 90 |
+
在`api_key.txt`中填写你的API-Key,注意不要填写任何无关内容。
|
| 91 |
+
|
| 92 |
+
在`auth.json`中填写你的用户名和密码。
|
| 93 |
+
|
| 94 |
+
```
|
| 95 |
+
{
|
| 96 |
+
"username": "用户名",
|
| 97 |
+
"password": "密码"
|
| 98 |
+
}
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
</details>
|
| 102 |
+
|
| 103 |
3. **安装依赖**
|
| 104 |
|
| 105 |
```shell
|