m-ric HF staff commited on
Commit
207a21f
β€’
1 Parent(s): 8e19d49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -330,7 +330,7 @@ with gr.Blocks(
330
  css=STYLE,
331
  ) as demo:
332
  text = gr.Textbox(label="Sentence to decode from", value="Today is")
333
- steps = gr.Slider(label="Number of steps", minimum=1, maximum=10, step=1, value=4)
334
  beams = gr.Slider(label="Number of beams", minimum=2, maximum=4, step=1, value=3)
335
  button = gr.Button()
336
  out = gr.Markdown(label="Output")
 
330
  css=STYLE,
331
  ) as demo:
332
  text = gr.Textbox(label="Sentence to decode from", value="Today is")
333
+ steps = gr.Slider(label="Number of steps", minimum=1, maximum=7, step=1, value=4)
334
  beams = gr.Slider(label="Number of beams", minimum=2, maximum=4, step=1, value=3)
335
  button = gr.Button()
336
  out = gr.Markdown(label="Output")