DGSpitzer commited on
Commit
78fdd62
·
1 Parent(s): 531b8e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
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]