Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def summarize_text(text,max_length):
|
|
42 |
|
43 |
with gr.Blocks() as demo:
|
44 |
text_input = gr.Textbox(label="Input Text")
|
45 |
-
max_length_slider = gr.Slider(minimum=
|
46 |
output_text = gr.Textbox(label="Summary")
|
47 |
gr.Interface(
|
48 |
fn=summarize_text,
|
|
|
42 |
|
43 |
with gr.Blocks() as demo:
|
44 |
text_input = gr.Textbox(label="Input Text")
|
45 |
+
max_length_slider = gr.Slider(minimum=10, maximum=150, value=50, step=5, label="Max Length (words)")
|
46 |
output_text = gr.Textbox(label="Summary")
|
47 |
gr.Interface(
|
48 |
fn=summarize_text,
|