Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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")
|