jaimin commited on
Commit
3cd6437
1 Parent(s): c6e8548

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def return_output(file, models,beams):
73
 
74
  demo = gr.Interface(return_output, inputs=[gr.inputs.Textbox(label="Text", optional=False),
75
  gr.inputs.Dropdown(['Pegasus', 'T5'], type="value", default=None, label="Models", optional=False),
76
- gr.Slider(label="Number of Beams", minimum=2, maximum=20, step=5, randomize=True, type="value", default=5, optional=False)],
77
  outputs=[gr.outputs.Textbox(label="Summary")])
78
 
79
  if __name__ == "__main__":
 
73
 
74
  demo = gr.Interface(return_output, inputs=[gr.inputs.Textbox(label="Text", optional=False),
75
  gr.inputs.Dropdown(['Pegasus', 'T5'], type="value", default=None, label="Models", optional=False),
76
+ gr.Slider(label="Number of Beams", minimum=5, maximum=25, step=5, randomize=True, type="value", default=5, optional=False)],
77
  outputs=[gr.outputs.Textbox(label="Summary")])
78
 
79
  if __name__ == "__main__":