Update app.py
Browse files
app.py
CHANGED
@@ -118,9 +118,9 @@ def final_summary(text):
|
|
118 |
|
119 |
|
120 |
#creating an interface for the headline generator using gradio
|
121 |
-
demo = gr.Interface(final_summary, inputs=[gr.
|
122 |
title = "ARTICLE SUMMARIZER",
|
123 |
-
outputs=[gr.
|
124 |
theme= "darkhuggingface")
|
125 |
|
126 |
#launching the app
|
|
|
118 |
|
119 |
|
120 |
#creating an interface for the headline generator using gradio
|
121 |
+
demo = gr.Interface(final_summary, inputs=[gr.Textbox(label="Drop your article here", optional=False)],
|
122 |
title = "ARTICLE SUMMARIZER",
|
123 |
+
outputs=[gr.Textbox(label="Summary")],
|
124 |
theme= "darkhuggingface")
|
125 |
|
126 |
#launching the app
|