Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
8446cdf
1
Parent(s):
5d951b9
Update app.py
Browse files
app.py
CHANGED
@@ -219,5 +219,5 @@ if __name__ == "__main__":
|
|
219 |
output_plot = gr.Plot(label="output plot")
|
220 |
output_midi = gr.File(label="output midi", file_types=[".mid"])
|
221 |
run_event = run_btn.click(GenerateMIDI, [input_num_tokens, input_drums, input_instrument], [output_midi_seq, output_plot, output_midi, output_audio])
|
222 |
-
|
223 |
app.queue(concurrency_count=1).launch(server_port=opt.port, share=opt.share, inbrowser=True)
|
|
|
219 |
output_plot = gr.Plot(label="output plot")
|
220 |
output_midi = gr.File(label="output midi", file_types=[".mid"])
|
221 |
run_event = run_btn.click(GenerateMIDI, [input_num_tokens, input_drums, input_instrument], [output_midi_seq, output_plot, output_midi, output_audio])
|
222 |
+
plt.close()
|
223 |
app.queue(concurrency_count=1).launch(server_port=opt.port, share=opt.share, inbrowser=True)
|