abdulmatinomotoso commited on
Commit
036b597
1 Parent(s): a832dbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def return_output(file, models):
77
  new_output = new_output.replace('.<n>', '.\n')
78
  return new_output
79
 
80
- demo = gr.Interface(return_output, inputs=[gr.inputs.File(label="File", optional=False),
81
  gr.inputs.Dropdown(['Pegasus', 'T5'], type="value", default=None, label="Models", optional=False),],
82
  outputs=[gr.outputs.Textbox(label="Summary")])
83
 
 
77
  new_output = new_output.replace('.<n>', '.\n')
78
  return new_output
79
 
80
+ demo = gr.Interface(return_output, inputs=[gr.inputs.Textbox(label="Text", optional=False),
81
  gr.inputs.Dropdown(['Pegasus', 'T5'], type="value", default=None, label="Models", optional=False),],
82
  outputs=[gr.outputs.Textbox(label="Summary")])
83