entropy25 commited on
Commit
9192b37
·
verified ·
1 Parent(s): 6766ceb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -497,7 +497,7 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Advanced Sentiment Analyzer") as d
497
 
498
  with gr.Row():
499
  language_select = gr.Dropdown(
500
- choices=list(config.SUPPORTED_LANGUAGES.items()),
501
  value='auto',
502
  label="Language"
503
  )
 
497
 
498
  with gr.Row():
499
  language_select = gr.Dropdown(
500
+ choices=[('auto', 'Auto Detect'), ('en', 'English'), ('zh', 'Chinese'), ('es', 'Spanish'), ('fr', 'French'), ('de', 'German')],
501
  value='auto',
502
  label="Language"
503
  )