abdulmatinomotoso commited on
Commit
4de6955
1 Parent(s): 98090f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def headline_generator_2(file):
53
  return summary
54
 
55
  #creating an interface for the headline generator using gradio
56
- demo = gr.Interface(headline_generator_2, inputs=[gr.Textbox(label="Drop your .txt file here", optional=False)],
57
  title = "HEADLINE GENERATOR",
58
  outputs=[gr.Textbox(label="Headline")],
59
  theme= "darkhuggingface")
 
53
  return summary
54
 
55
  #creating an interface for the headline generator using gradio
56
+ demo = gr.Interface(headline_generator_2, inputs=[gr.Textbox(label="Drop your .txt file here")],
57
  title = "HEADLINE GENERATOR",
58
  outputs=[gr.Textbox(label="Headline")],
59
  theme= "darkhuggingface")