dragonSwing commited on
Commit
87ce977
1 Parent(s): b4fdbc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,4 +42,4 @@ def fn(model_choice, input):
42
  else:
43
  return "Unsupported model"
44
 
45
- gr.Interface(fn, [gr.inputs.Dropdown(["viBERT"]), gr.inputs.Textbox(lines=5)], "text", examples=examples, title=title, description=description, article=article).launch()
 
42
  else:
43
  return "Unsupported model"
44
 
45
+ gr.Interface(fn, [gr.inputs.Dropdown(list(model_dict.keys())), gr.inputs.Textbox(lines=5)], "text", examples=examples, title=title, description=description, article=article).launch()