Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def gen(piano_only, length):
|
|
20 |
return midi, bio.getvalue(), audio.getvalue()
|
21 |
with gr.Blocks() as demo:
|
22 |
piano_only = gr.Checkbox(label="Piano Only")
|
23 |
-
length = gr.Slider(label="Length", minimum=4, maximum=4096, step=1)
|
24 |
synth = gr.Button("Synthesize")
|
25 |
txtout = gr.Textbox(interactive=False)
|
26 |
fileout = gr.File(interactive=False)
|
|
|
20 |
return midi, bio.getvalue(), audio.getvalue()
|
21 |
with gr.Blocks() as demo:
|
22 |
piano_only = gr.Checkbox(label="Piano Only")
|
23 |
+
length = gr.Slider(label="Length", minimum=4, maximum=4096, step=1, value=4096)
|
24 |
synth = gr.Button("Synthesize")
|
25 |
txtout = gr.Textbox(interactive=False)
|
26 |
fileout = gr.File(interactive=False)
|