Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -107,7 +107,7 @@ iface = gr.Interface(
|
|
107 |
fn=summarize_text,
|
108 |
inputs=[
|
109 |
gr.Textbox(lines=6, label="Enter text to summarize"),
|
110 |
-
gr.Dropdown(choices=list(model_choices.keys()), label="Choose summarization model", value="
|
111 |
gr.Slider(minimum=30, maximum=200, value=65, step=1, label="Max Character Limit")
|
112 |
],
|
113 |
outputs=gr.Textbox(lines=3, label="Summary (truncated to character limit)"),
|
|
|
107 |
fn=summarize_text,
|
108 |
inputs=[
|
109 |
gr.Textbox(lines=6, label="Enter text to summarize"),
|
110 |
+
gr.Dropdown(choices=list(model_choices.keys()), label="Choose summarization model", value="T5 Base (t5-base)"),
|
111 |
gr.Slider(minimum=30, maximum=200, value=65, step=1, label="Max Character Limit")
|
112 |
],
|
113 |
outputs=gr.Textbox(lines=3, label="Summary (truncated to character limit)"),
|