mesutdmn commited on
Commit
6612bbe
·
verified ·
1 Parent(s): e765d84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -10,5 +10,7 @@ def summarize(input):
10
  return output[0]['summary_text']
11
 
12
  gr.close_all()
13
- demo = gr.Interface(fn=summarize, inputs="text", outputs="text")
 
 
14
  demo.launch()
 
10
  return output[0]['summary_text']
11
 
12
  gr.close_all()
13
+ demo = gr.Interface(fn=summarize,
14
+ inputs=[gr.Textbox(label="Text to summarize", lines=10)],
15
+ outputs=[gr.Textbox(label="Text to summarize", lines=5)])
16
  demo.launch()