Spaces:
Runtime error
Runtime error
dragonSwing
commited on
Commit
•
87ce977
1
Parent(s):
b4fdbc0
Update app.py
Browse files
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(
|
|
|
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()
|