Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ if __name__ == "__main__":
|
|
94 |
out_seq_length = gr.Slider(maximum=256, value=128, minimum=32, step=1, label='Output Sequence Length')
|
95 |
with gr.Column():
|
96 |
min_gen_length = gr.Slider(maximum=64, value=0, step=1, label='Min Generate Length')
|
97 |
-
sampling_strategy = gr.Radio(choices=['BeamSearchStrategy', 'BaseStrategy'], value='
|
98 |
|
99 |
with gr.Row():
|
100 |
with gr.Column():
|
|
|
94 |
out_seq_length = gr.Slider(maximum=256, value=128, minimum=32, step=1, label='Output Sequence Length')
|
95 |
with gr.Column():
|
96 |
min_gen_length = gr.Slider(maximum=64, value=0, step=1, label='Min Generate Length')
|
97 |
+
sampling_strategy = gr.Radio(choices=['BeamSearchStrategy', 'BaseStrategy'], value='BaseStrategy', label='Search Strategy')
|
98 |
|
99 |
with gr.Row():
|
100 |
with gr.Column():
|