Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,9 +66,6 @@ def translate_language(text_prompts):
|
|
66 |
return {language_tips_text:gr.update(visible=True, value=tips_text), translated_language:text_prompts, trigger_component: gr.update(value=count, visible=False)}
|
67 |
|
68 |
|
69 |
-
word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt", use_auth_token=True)
|
70 |
-
word_list = word_list_dataset["train"]['text']
|
71 |
-
|
72 |
|
73 |
def get_result(text_prompts, style_indx):
|
74 |
style = style_list[style_indx]
|
|
|
66 |
return {language_tips_text:gr.update(visible=True, value=tips_text), translated_language:text_prompts, trigger_component: gr.update(value=count, visible=False)}
|
67 |
|
68 |
|
|
|
|
|
|
|
69 |
|
70 |
def get_result(text_prompts, style_indx):
|
71 |
style = style_list[style_indx]
|