Spaces:
Running
on
Zero
Running
on
Zero
turn off ssr mode
Browse files- app.py +1 -1
- app_onnx.py +1 -1
app.py
CHANGED
@@ -530,5 +530,5 @@ if __name__ == "__main__":
|
|
530 |
# queue=False)
|
531 |
undo_btn.click(undo_continuation, [input_model, output_midi_seq, output_continuation_state],
|
532 |
[output_midi_seq, output_continuation_state, js_msg], queue=False)
|
533 |
-
app.queue().launch(server_port=opt.port, share=opt.share, inbrowser=True)
|
534 |
thread_pool.shutdown()
|
|
|
530 |
# queue=False)
|
531 |
undo_btn.click(undo_continuation, [input_model, output_midi_seq, output_continuation_state],
|
532 |
[output_midi_seq, output_continuation_state, js_msg], queue=False)
|
533 |
+
app.queue().launch(server_port=opt.port, share=opt.share, inbrowser=True, ssr_mode=False)
|
534 |
thread_pool.shutdown()
|
app_onnx.py
CHANGED
@@ -622,5 +622,5 @@ if __name__ == "__main__":
|
|
622 |
# queue=False)
|
623 |
undo_btn.click(undo_continuation, [input_model, output_midi_seq, output_continuation_state],
|
624 |
[output_midi_seq, output_continuation_state, js_msg], queue=False)
|
625 |
-
app.queue().launch(server_port=opt.port, share=opt.share, inbrowser=True)
|
626 |
thread_pool.shutdown()
|
|
|
622 |
# queue=False)
|
623 |
undo_btn.click(undo_continuation, [input_model, output_midi_seq, output_continuation_state],
|
624 |
[output_midi_seq, output_continuation_state, js_msg], queue=False)
|
625 |
+
app.queue().launch(server_port=opt.port, share=opt.share, inbrowser=True, ssr_mode=False)
|
626 |
thread_pool.shutdown()
|