Update app.py
Browse files
app.py
CHANGED
|
@@ -21,17 +21,17 @@ app = gr.Interface(
|
|
| 21 |
fn=summarize_text,
|
| 22 |
|
| 23 |
inputs=gr.Textbox(
|
| 24 |
-
lines=
|
| 25 |
label="Input Text"
|
| 26 |
),
|
| 27 |
|
| 28 |
outputs=gr.Textbox(
|
| 29 |
-
lines=
|
| 30 |
label="Generated Summary"
|
| 31 |
),
|
| 32 |
|
| 33 |
-
title="AI Text Summarizer",
|
| 34 |
-
|
| 35 |
Built with Gradio and BART-Large-CNN."
|
| 36 |
)
|
| 37 |
|
|
|
|
| 21 |
fn=summarize_text,
|
| 22 |
|
| 23 |
inputs=gr.Textbox(
|
| 24 |
+
lines=20,
|
| 25 |
label="Input Text"
|
| 26 |
),
|
| 27 |
|
| 28 |
outputs=gr.Textbox(
|
| 29 |
+
lines=10,
|
| 30 |
label="Generated Summary"
|
| 31 |
),
|
| 32 |
|
| 33 |
+
title="📚AI Text Summarizer",
|
| 34 |
+
description="Generate concise summaries using Hugging Face Transformers.
|
| 35 |
Built with Gradio and BART-Large-CNN."
|
| 36 |
)
|
| 37 |
|