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