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