Sibinraj commited on
Commit
6481213
·
verified ·
1 Parent(s): edc682e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=50, maximum=200, value=100, step=10, label="Max Length (words)")
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,