Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
211eb99
1
Parent(s):
a8e6836
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ from share_btn import community_icon_html, loading_icon_html, share_js
|
|
16 |
word_list_dataset = load_dataset("google/word-list-sd", data_files="list.txt", use_auth_token=True)
|
17 |
word_list = word_list_dataset["train"]['text']
|
18 |
|
19 |
-
gradio.helpers.
|
20 |
|
21 |
def infer(prompt, negative="low_quality", scale=7, profile: gr.OAuthProfile | None = None):
|
22 |
for filter in word_list:
|
|
|
16 |
word_list_dataset = load_dataset("google/word-list-sd", data_files="list.txt", use_auth_token=True)
|
17 |
word_list = word_list_dataset["train"]['text']
|
18 |
|
19 |
+
gradio.helpers.CACHED_FOLDER="/data/cache"
|
20 |
|
21 |
def infer(prompt, negative="low_quality", scale=7, profile: gr.OAuthProfile | None = None):
|
22 |
for filter in word_list:
|