d0r1h commited on
Commit
ac5fe80
·
verified ·
1 Parent(s): a2363a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.inputs.Textbox(lines=5,
23
  placeholder="Enter your text...",
24
  label='News Input'),
25
- gr.inputs.Radio(["T5", "BART"], type="value", label='Model')
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"),