Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
1944c63
1
Parent(s):
48c5223
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def inference(text, model):
|
|
29 |
|
30 |
gr.Interface(
|
31 |
inference,
|
32 |
-
[gr.inputs.Textbox(label="Input"),gr.inputs.Dropdown(choices=["prophetnet-large-uncased","prophetnet-large-uncased-squad-qg","prophetnet-large-uncased-cnndm"], type="value", default="prophetnet-large-uncased", label="model")
|
33 |
],
|
34 |
gr.outputs.Textbox(label="Output"),
|
35 |
examples=examples,
|
|
|
29 |
|
30 |
gr.Interface(
|
31 |
inference,
|
32 |
+
[gr.inputs.Textbox(label="Input", lines=10),gr.inputs.Dropdown(choices=["prophetnet-large-uncased","prophetnet-large-uncased-squad-qg","prophetnet-large-uncased-cnndm"], type="value", default="prophetnet-large-uncased", label="model")
|
33 |
],
|
34 |
gr.outputs.Textbox(label="Output"),
|
35 |
examples=examples,
|