astro21 commited on
Commit
4ca6618
·
1 Parent(s): 9467810

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,10 +53,10 @@ def summarize_text(input_text):
53
  # return summarize_text(content)
54
 
55
 
56
- input_type = gr.inputs.Textbox(label = "textbox" )
57
 
58
  # Name the outputs using the label parameter and provide a download option
59
- demo = gr.Interface(fn=summarize_text, inputs=input_type,
60
  outputs=[gr.Textbox(label="Summarized Text")],
61
  title = "Text Summarization",
62
  description = "Summarize text using BART",
 
53
  # return summarize_text(content)
54
 
55
 
56
+ # input_type = gr.inputs.Textbox(label = "textbox" )
57
 
58
  # Name the outputs using the label parameter and provide a download option
59
+ demo = gr.Interface(fn=summarize_text, inputs=[gr.Textbox(label="Enter Text",placeholder="Ask me anything.",lines=3,],
60
  outputs=[gr.Textbox(label="Summarized Text")],
61
  title = "Text Summarization",
62
  description = "Summarize text using BART",