OmarSamehSaid commited on
Commit
5645576
·
unverified ·
1 Parent(s): 50bf084

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,6 +7,6 @@ def predict(prompt):
7
  summary = model(prompt)[0]["summary_text"]
8
  return summary
9
 
10
- textbox = gr.Textbox(placeholder="Enter text to summarize", lines=4)
11
  iface = gr.Interface(fn=predict, inputs=textbox, outputs="text")
12
  iface.launch()
 
7
  summary = model(prompt)[0]["summary_text"]
8
  return summary
9
 
10
+ textbox = gr.Textbox(placeholder="Enter text to summarize please", lines=4)
11
  iface = gr.Interface(fn=predict, inputs=textbox, outputs="text")
12
  iface.launch()