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