Spaces:
Runtime error
Runtime error
default top k
Browse files
app.py
CHANGED
@@ -318,7 +318,7 @@ if __name__ == "__main__":
|
|
318 |
with gr.Accordion("options", open=False):
|
319 |
input_temp = gr.Slider(label="temperature", minimum=0.1, maximum=1.2, step=0.01, value=1)
|
320 |
input_top_p = gr.Slider(label="top p", minimum=0.1, maximum=1, step=0.01, value=0.98)
|
321 |
-
input_top_k = gr.Slider(label="top k", minimum=1, maximum=128, step=1, value=
|
322 |
input_allow_cc = gr.Checkbox(label="allow midi cc event", value=True)
|
323 |
example3 = gr.Examples([[1, 0.98, 20], [1, 0.98, 12]], [input_temp, input_top_p, input_top_k])
|
324 |
run_btn = gr.Button("generate", variant="primary")
|
|
|
318 |
with gr.Accordion("options", open=False):
|
319 |
input_temp = gr.Slider(label="temperature", minimum=0.1, maximum=1.2, step=0.01, value=1)
|
320 |
input_top_p = gr.Slider(label="top p", minimum=0.1, maximum=1, step=0.01, value=0.98)
|
321 |
+
input_top_k = gr.Slider(label="top k", minimum=1, maximum=128, step=1, value=10)
|
322 |
input_allow_cc = gr.Checkbox(label="allow midi cc event", value=True)
|
323 |
example3 = gr.Examples([[1, 0.98, 20], [1, 0.98, 12]], [input_temp, input_top_p, input_top_k])
|
324 |
run_btn = gr.Button("generate", variant="primary")
|