Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
c78a869
1
Parent(s):
3bfdf10
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def inference(text,model):
|
|
21 |
|
22 |
gr.Interface(
|
23 |
inference,
|
24 |
-
[gr.inputs.Textbox(label="Input"),gr.inputs.Dropdown(choices=["reformer-crime-and-punishment"
|
25 |
gr.outputs.Textbox(label="Output"),
|
26 |
examples=examples,
|
27 |
article=article,
|
|
|
21 |
|
22 |
gr.Interface(
|
23 |
inference,
|
24 |
+
[gr.inputs.Textbox(label="Input"),gr.inputs.Dropdown(choices=["reformer-crime-and-punishment"], type="value", default="reformer-crime-and-punishment", label="model")],
|
25 |
gr.outputs.Textbox(label="Output"),
|
26 |
examples=examples,
|
27 |
article=article,
|