Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ gr.Interface(
|
|
16 |
fn=summarize,
|
17 |
inputs=[
|
18 |
gr.inputs.Textbox(label="Input Text", lines=12, placeholder="Enter text to summarize here"),
|
19 |
-
gr.inputs.Slider(60, 1000,
|
20 |
],
|
21 |
outputs=gr.outputs.Textbox(type="text", label="Summary"),
|
22 |
title=title,
|
|
|
16 |
fn=summarize,
|
17 |
inputs=[
|
18 |
gr.inputs.Textbox(label="Input Text", lines=12, placeholder="Enter text to summarize here"),
|
19 |
+
gr.inputs.Slider(60, 1000, default=400, label="Max summary length")
|
20 |
],
|
21 |
outputs=gr.outputs.Textbox(type="text", label="Summary"),
|
22 |
title=title,
|