Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,8 +14,8 @@ import requests
|
|
| 14 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
| 15 |
|
| 16 |
#When running locally, you won`t have access to this, so you can remove this part
|
| 17 |
-
word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt", use_auth_token=True)
|
| 18 |
-
word_list = word_list_dataset["train"]['text']
|
| 19 |
|
| 20 |
is_gpu_busy = False
|
| 21 |
def infer(prompt):
|
|
|
|
| 14 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
| 15 |
|
| 16 |
#When running locally, you won`t have access to this, so you can remove this part
|
| 17 |
+
#word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt", use_auth_token=True)
|
| 18 |
+
#word_list = word_list_dataset["train"]['text']
|
| 19 |
|
| 20 |
is_gpu_busy = False
|
| 21 |
def infer(prompt):
|