Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -426,7 +426,7 @@ def get_beam_search_html(input_text, number_steps, number_beams, length_penalty,
|
|
426 |
|
427 |
|
428 |
def change_n_sequences(n_beams):
|
429 |
-
return gr.Slider
|
430 |
|
431 |
|
432 |
with gr.Blocks(
|
|
|
426 |
|
427 |
|
428 |
def change_n_sequences(n_beams):
|
429 |
+
return gr.Slider(label="Number of sequences", minimum=1, maximum=n_beams, step=1, value=n_beams)
|
430 |
|
431 |
|
432 |
with gr.Blocks(
|