Spaces:
Running
on
Zero
Running
on
Zero
no concurrency_limit
Browse files- app.py +1 -2
- app_onnx.py +1 -2
app.py
CHANGED
@@ -516,8 +516,7 @@ if __name__ == "__main__":
|
|
516 |
input_add_default_instr, input_remove_empty_channels,
|
517 |
input_seed, input_seed_rand, input_gen_events, input_temp, input_top_p,
|
518 |
input_top_k, input_allow_cc],
|
519 |
-
[output_midi_seq, output_continuation_state, input_seed, js_msg],
|
520 |
-
concurrency_limit=10, queue=True)
|
521 |
finish_run_event = run_event.then(fn=finish_run,
|
522 |
inputs=[input_model, output_midi_seq],
|
523 |
outputs=midi_outputs + [js_msg],
|
|
|
516 |
input_add_default_instr, input_remove_empty_channels,
|
517 |
input_seed, input_seed_rand, input_gen_events, input_temp, input_top_p,
|
518 |
input_top_k, input_allow_cc],
|
519 |
+
[output_midi_seq, output_continuation_state, input_seed, js_msg], queue=True)
|
|
|
520 |
finish_run_event = run_event.then(fn=finish_run,
|
521 |
inputs=[input_model, output_midi_seq],
|
522 |
outputs=midi_outputs + [js_msg],
|
app_onnx.py
CHANGED
@@ -608,8 +608,7 @@ if __name__ == "__main__":
|
|
608 |
input_add_default_instr, input_remove_empty_channels,
|
609 |
input_seed, input_seed_rand, input_gen_events, input_temp, input_top_p,
|
610 |
input_top_k, input_allow_cc],
|
611 |
-
[output_midi_seq, output_continuation_state, input_seed, js_msg],
|
612 |
-
concurrency_limit=10, queue=True)
|
613 |
finish_run_event = run_event.then(fn=finish_run,
|
614 |
inputs=[input_model, output_midi_seq],
|
615 |
outputs=midi_outputs + [js_msg],
|
|
|
608 |
input_add_default_instr, input_remove_empty_channels,
|
609 |
input_seed, input_seed_rand, input_gen_events, input_temp, input_top_p,
|
610 |
input_top_k, input_allow_cc],
|
611 |
+
[output_midi_seq, output_continuation_state, input_seed, js_msg], queue=True)
|
|
|
612 |
finish_run_event = run_event.then(fn=finish_run,
|
613 |
inputs=[input_model, output_midi_seq],
|
614 |
outputs=midi_outputs + [js_msg],
|