MFawad commited on
Commit
783bfb5
·
1 Parent(s): 20c739e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,8 +34,8 @@ def summarize(input):
34
 
35
  gr.close_all()
36
  demo = gr.Interface(fn=summarize,
37
- inputs=[gr.Textbox(label = "Text to Summarize", line = 6)],
38
- outputs=[gr.Textbox(label = "Result", line = 3)],
39
  title="Text Summarizer with Distilbart-cnn",
40
  description= "Summarize any text using the `shleifer/distilbart-cnn-12-6` model under the hood!")
41
  demo.launch(share=True)
 
34
 
35
  gr.close_all()
36
  demo = gr.Interface(fn=summarize,
37
+ inputs=[gr.Textbox(label = "Text to Summarize")],
38
+ outputs=[gr.Textbox(label = "Result")],
39
  title="Text Summarizer with Distilbart-cnn",
40
  description= "Summarize any text using the `shleifer/distilbart-cnn-12-6` model under the hood!")
41
  demo.launch(share=True)