Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ def summarize_text(input_text):
|
|
19 |
# Interface for the Gradio app
|
20 |
iface = gr.Interface(
|
21 |
fn=summarize_text,
|
22 |
-
inputs=gr.
|
23 |
-
outputs=gr.
|
24 |
title="Text Summarizer",
|
25 |
description="Enter a paragraph, and the app will provide a summary.",
|
26 |
)
|
|
|
19 |
# Interface for the Gradio app
|
20 |
iface = gr.Interface(
|
21 |
fn=summarize_text,
|
22 |
+
inputs=gr.Textbox(lines=5, label="Input Text"),
|
23 |
+
outputs=gr.Textbox(label="Summary"),
|
24 |
title="Text Summarizer",
|
25 |
description="Enter a paragraph, and the app will provide a summary.",
|
26 |
)
|