Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -19,10 +19,10 @@ with open("Example/File.txt", 'r', encoding="utf8") as f:
|
|
19 |
|
20 |
|
21 |
interface = gr.Interface(fn = summarize,
|
22 |
-
inputs = [gr.
|
23 |
placeholder="Enter your text...",
|
24 |
label='News Input'),
|
25 |
-
gr.
|
26 |
],
|
27 |
|
28 |
outputs = [gr.outputs.Textbox(label="Sar"),
|
|
|
19 |
|
20 |
|
21 |
interface = gr.Interface(fn = summarize,
|
22 |
+
inputs = [gr.Textbox(lines=5,
|
23 |
placeholder="Enter your text...",
|
24 |
label='News Input'),
|
25 |
+
gr.Radio(["T5", "BART"], type="value", label='Model')
|
26 |
],
|
27 |
|
28 |
outputs = [gr.outputs.Textbox(label="Sar"),
|