Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ def summarize(input):
|
|
| 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 |
-
title="Text Summarization",
|
|
|
|
| 17 |
demo.launch()
|
|
|
|
| 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 |
+
title="Text Summarization",
|
| 17 |
+
description="Summarize any text using distilbart")
|
| 18 |
demo.launch()
|