Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -91,7 +91,7 @@ iface = gr.Interface(
|
|
91 |
inputs=[
|
92 |
gr.Textbox(lines=6, label="Enter text to summarize"),
|
93 |
gr.Dropdown(choices=list(model_choices.keys()), label="Choose summarization model", value="Pegasus (google/pegasus-xsum)"),
|
94 |
-
gr.Slider(minimum=30, maximum=200, value=
|
95 |
],
|
96 |
outputs=gr.Textbox(lines=3, label="Summary (truncated to character limit)"),
|
97 |
title="Multi-Model Text Summarizer (GPU Ready)",
|
|
|
91 |
inputs=[
|
92 |
gr.Textbox(lines=6, label="Enter text to summarize"),
|
93 |
gr.Dropdown(choices=list(model_choices.keys()), label="Choose summarization model", value="Pegasus (google/pegasus-xsum)"),
|
94 |
+
gr.Slider(minimum=30, maximum=200, value=65, step=1, label="Max Character Limit")
|
95 |
],
|
96 |
outputs=gr.Textbox(lines=3, label="Summary (truncated to character limit)"),
|
97 |
title="Multi-Model Text Summarizer (GPU Ready)",
|