Spaces:
Running
Running
Ahsen Khaliq
commited on
Commit
·
36ac88c
1
Parent(s):
1c50303
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def inference(text, model):
|
|
24 |
|
25 |
gr.Interface(
|
26 |
inference,
|
27 |
-
[gr.inputs.Textbox(label="Input"),gr.inputs.Dropdown(choices=["pegasus-xsum","pegasus-large"], type="value", default="pegasus-xsum", label="model")
|
28 |
],
|
29 |
gr.outputs.Textbox(label="Output"),
|
30 |
examples=examples,
|
|
|
24 |
|
25 |
gr.Interface(
|
26 |
inference,
|
27 |
+
[gr.inputs.Textbox(label="Input",lines=10),gr.inputs.Dropdown(choices=["pegasus-xsum","pegasus-large"], type="value", default="pegasus-xsum", label="model")
|
28 |
],
|
29 |
gr.outputs.Textbox(label="Output"),
|
30 |
examples=examples,
|