Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -473,6 +473,8 @@ print('=' * 70)
|
|
| 473 |
|
| 474 |
with gr.Blocks() as demo:
|
| 475 |
|
|
|
|
|
|
|
| 476 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Giant Music Transformer</h1>")
|
| 477 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Fast multi-instrumental music transformer with true full MIDI instruments range, efficient encoding, octo-velocity and outro tokens</h1>")
|
| 478 |
gr.Markdown(
|
|
@@ -543,7 +545,7 @@ with gr.Blocks() as demo:
|
|
| 543 |
outputs=[final_audio_output, final_plot_output, final_file_output]
|
| 544 |
)
|
| 545 |
|
| 546 |
-
demo.unload(
|
| 547 |
|
| 548 |
#==================================================================================
|
| 549 |
|
|
|
|
| 473 |
|
| 474 |
with gr.Blocks() as demo:
|
| 475 |
|
| 476 |
+
demo.load(reset)
|
| 477 |
+
|
| 478 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Giant Music Transformer</h1>")
|
| 479 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Fast multi-instrumental music transformer with true full MIDI instruments range, efficient encoding, octo-velocity and outro tokens</h1>")
|
| 480 |
gr.Markdown(
|
|
|
|
| 545 |
outputs=[final_audio_output, final_plot_output, final_file_output]
|
| 546 |
)
|
| 547 |
|
| 548 |
+
demo.unload(reset)
|
| 549 |
|
| 550 |
#==================================================================================
|
| 551 |
|