Update app.py
Browse files
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="
|
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.")
|