Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|