Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,4 +15,4 @@ def summarize(inp):
|
|
| 15 |
summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|
| 16 |
return summary
|
| 17 |
|
| 18 |
-
gr.Interface(fn=summarize, inputs=gr.
|
|
|
|
| 15 |
summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|
| 16 |
return summary
|
| 17 |
|
| 18 |
+
gr.Interface(fn=summarize, inputs=gr.Textbox(lines=7, label="Input Text"), outputs="text").launch(inline=False)
|