Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -63,8 +63,9 @@ if __name__ == "__main__":
|
|
63 |
|
64 |
seed = gr.Slider(maximum=100000, value=1234, step=1, label='Seed')
|
65 |
out_seq_length = gr.Slider(maximum=256, value=128, minimum=32, step=1, label='Output Sequence Length')
|
66 |
-
|
67 |
-
|
|
|
68 |
|
69 |
sampling_strategy = gr.Radio(choices=['BeamSearchStrategy', 'BaseStrategy'], value='BeamSearchStrategy', label='Search Strategy')
|
70 |
|
|
|
63 |
|
64 |
seed = gr.Slider(maximum=100000, value=1234, step=1, label='Seed')
|
65 |
out_seq_length = gr.Slider(maximum=256, value=128, minimum=32, step=1, label='Output Sequence Length')
|
66 |
+
with gr.Column():
|
67 |
+
outputs = gr.Textbox(lines=7, label='Output')
|
68 |
+
min_gen_length = gr.Slider(maximum=64, value=0, step=1, label='Min Generate Length')
|
69 |
|
70 |
sampling_strategy = gr.Radio(choices=['BeamSearchStrategy', 'BaseStrategy'], value='BeamSearchStrategy', label='Search Strategy')
|
71 |
|