m-ric HF staff commited on
Commit
8cba28a
1 Parent(s): 652b0fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -230,7 +230,7 @@ with gr.Blocks(
230
  ) as demo:
231
  text = gr.Textbox(label="Sentence to decode from", value="Today is")
232
  steps = gr.Slider(label="Number of steps", minimum=1, maximum=10, step=1, value=4)
233
- beams = gr.Slider(label="Number of beams", minimum=1, maximum=3, step=1, value=3)
234
  button = gr.Button()
235
  out = gr.Markdown(label="Output")
236
  button.click(get_tables, inputs=[text, steps, beams], outputs=out)
 
230
  ) as demo:
231
  text = gr.Textbox(label="Sentence to decode from", value="Today is")
232
  steps = gr.Slider(label="Number of steps", minimum=1, maximum=10, step=1, value=4)
233
+ beams = gr.Slider(label="Number of beams", minimum=2, maximum=4, step=1, value=3)
234
  button = gr.Button()
235
  out = gr.Markdown(label="Output")
236
  button.click(get_tables, inputs=[text, steps, beams], outputs=out)