Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,8 @@ def summarize_text(input_text):
|
|
| 11 |
return summary[0]['summary_text']
|
| 12 |
|
| 13 |
# Create the Gradio interface
|
| 14 |
-
interface = gr.Interface(fn=summarize_text, inputs="text", outputs="text", title="Text Summarization App"
|
|
|
|
| 15 |
|
| 16 |
# Launch the app
|
| 17 |
interface.launch()
|
|
|
|
| 11 |
return summary[0]['summary_text']
|
| 12 |
|
| 13 |
# Create the Gradio interface
|
| 14 |
+
interface = gr.Interface(fn=summarize_text, inputs="text", outputs="text", title="Text Summarization App",
|
| 15 |
+
description="Enter a long text to get a summarized version.")
|
| 16 |
|
| 17 |
# Launch the app
|
| 18 |
interface.launch()
|