abdulmatinomotoso
commited on
Commit
•
56f13c1
1
Parent(s):
58fe787
Update app.py
Browse files
app.py
CHANGED
@@ -53,9 +53,9 @@ def final_summary(file):
|
|
53 |
return summ_bullet1
|
54 |
|
55 |
#creating an interface for the headline generator using gradio
|
56 |
-
demo = gr.Interface(final_summary, inputs=[gr.
|
57 |
title = "ARTICLE SUMMARIZER",
|
58 |
-
outputs=[gr.
|
59 |
theme= "darkhuggingface")
|
60 |
|
61 |
#launching the app
|
|
|
53 |
return summ_bullet1
|
54 |
|
55 |
#creating an interface for the headline generator using gradio
|
56 |
+
demo = gr.Interface(final_summary, inputs=[gr.File(label="Drop your .txt file here", optional=False)],
|
57 |
title = "ARTICLE SUMMARIZER",
|
58 |
+
outputs=[gr.Textbox(label="Summary")],
|
59 |
theme= "darkhuggingface")
|
60 |
|
61 |
#launching the app
|