Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,8 +14,8 @@ def summarize_text(text):
|
|
| 14 |
|
| 15 |
gr_interface = gr.Interface(
|
| 16 |
fn=summarize_text,
|
| 17 |
-
inputs=gr.
|
| 18 |
-
outputs=
|
| 19 |
title="Text Summarization with Fine-Tuned Model",
|
| 20 |
description="Enter text to generate a summary using the fine-tuned summarization model."
|
| 21 |
)
|
|
|
|
| 14 |
|
| 15 |
gr_interface = gr.Interface(
|
| 16 |
fn=summarize_text,
|
| 17 |
+
inputs=gr.Textbox(lines=5, placeholder="Enter text to summarize here..."),
|
| 18 |
+
outputs=gr.Textbox(),
|
| 19 |
title="Text Summarization with Fine-Tuned Model",
|
| 20 |
description="Enter text to generate a summary using the fine-tuned summarization model."
|
| 21 |
)
|