Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ if __name__ == "__main__":
|
|
98 |
"""
|
99 |
BeamSearchStrategy
|
100 |
""")
|
101 |
-
num_beams = gr.Slider(maximum=4, value=
|
102 |
length_penalty = gr.Slider(maximum=1, value=1, minimum=0, label='Length Penalty')
|
103 |
no_repeat_ngram_size = gr.Slider(maximum=5, value=3, minimum=1, step=1, label='No Repeat Ngram Size')
|
104 |
with gr.Column():
|
|
|
98 |
"""
|
99 |
BeamSearchStrategy
|
100 |
""")
|
101 |
+
num_beams = gr.Slider(maximum=4, value=2, minimum=1, step=1, label='Number of Beams')
|
102 |
length_penalty = gr.Slider(maximum=1, value=1, minimum=0, label='Length Penalty')
|
103 |
no_repeat_ngram_size = gr.Slider(maximum=5, value=3, minimum=1, step=1, label='No Repeat Ngram Size')
|
104 |
with gr.Column():
|