Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -271,7 +271,7 @@ if __name__ == "__main__":
|
|
271 |
with gr.Accordion("options", open=False):
|
272 |
input_temp = gr.Slider(label="temperature", minimum=0.1, maximum=1.2, step=0.01, value=1)
|
273 |
input_top_p = gr.Slider(label="top p", minimum=0.1, maximum=1, step=0.01, value=0.98)
|
274 |
-
input_top_k = gr.Slider(label="top k", minimum=1, maximum=20, step=1, value=
|
275 |
input_allow_cc = gr.Checkbox(label="allow midi cc event", value=True)
|
276 |
example3 = gr.Examples([[1, 0.98, 12], [1.2, 0.95, 8]], [input_temp, input_top_p, input_top_k])
|
277 |
run_btn = gr.Button("generate", variant="primary")
|
|
|
271 |
with gr.Accordion("options", open=False):
|
272 |
input_temp = gr.Slider(label="temperature", minimum=0.1, maximum=1.2, step=0.01, value=1)
|
273 |
input_top_p = gr.Slider(label="top p", minimum=0.1, maximum=1, step=0.01, value=0.98)
|
274 |
+
input_top_k = gr.Slider(label="top k", minimum=1, maximum=20, step=1, value=12)
|
275 |
input_allow_cc = gr.Checkbox(label="allow midi cc event", value=True)
|
276 |
example3 = gr.Examples([[1, 0.98, 12], [1.2, 0.95, 8]], [input_temp, input_top_p, input_top_k])
|
277 |
run_btn = gr.Button("generate", variant="primary")
|