PhLoDuTi commited on
Commit
6ff37b3
·
verified ·
1 Parent(s): 49746c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def summarize(input):
10
  return output[0]['summary_text']
11
 
12
  demo = gr.Interface(fn=summarize,
13
- inputs=[gr.Textbox(label="Text to summarize", lines=6)],
14
  outputs=[gr.Textbox(label="Result", lines=3)],
15
  title="Text summarization",
16
  description="Put in any tech news article here.")
 
10
  return output[0]['summary_text']
11
 
12
  demo = gr.Interface(fn=summarize,
13
+ inputs=[gr.Textbox(label="TNS Demo", lines=6)],
14
  outputs=[gr.Textbox(label="Result", lines=3)],
15
  title="Text summarization",
16
  description="Put in any tech news article here.")