Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,5 +10,7 @@ def summarize(input):
|
|
10 |
return output[0]['summary_text']
|
11 |
|
12 |
gr.close_all()
|
13 |
-
demo = gr.Interface(fn=summarize,
|
|
|
|
|
14 |
demo.launch()
|
|
|
10 |
return output[0]['summary_text']
|
11 |
|
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 |
demo.launch()
|