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