Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,6 @@ with gr.Blocks() as demo:
|
|
19 |
length = gr.Slider(label="Length (in tokens)", minimum=4, maximum=4096, step=1, value=4096)
|
20 |
synth = gr.Button("Synthesize")
|
21 |
txtout = gr.Textbox(interactive=False, label="MIDI Length")
|
22 |
-
fileout = gr.File(interactive=False, label="MIDI File")
|
23 |
synth.click(gen, inputs=[piano_only, length], outputs=[txtout, fileout])
|
24 |
demo.queue().launch()
|
|
|
19 |
length = gr.Slider(label="Length (in tokens)", minimum=4, maximum=4096, step=1, value=4096)
|
20 |
synth = gr.Button("Synthesize")
|
21 |
txtout = gr.Textbox(interactive=False, label="MIDI Length")
|
22 |
+
fileout = gr.File(interactive=False, label="MIDI File", type="binary")
|
23 |
synth.click(gen, inputs=[piano_only, length], outputs=[txtout, fileout])
|
24 |
demo.queue().launch()
|