Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -317,7 +317,14 @@ def ui_batched(launch_kwargs):
|
|
317 |
with gr.Row():
|
318 |
submit = gr.Button("Generate")
|
319 |
with gr.Column():
|
320 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
321 |
submit.click(predict_batched, inputs=[text, melody],
|
322 |
outputs=[output], batch=True, max_batch_size=MAX_BATCH_SIZE)
|
323 |
radio.change(toggle_audio_src, radio, [melody], queue=False, show_progress=False)
|
|
|
317 |
with gr.Row():
|
318 |
submit = gr.Button("Generate")
|
319 |
with gr.Column():
|
320 |
+
output=[
|
321 |
+
gr.Audio(type='filepath',label="Generated Music"),
|
322 |
+
gr.Audio(type='filepath',label="Vocal Music"),
|
323 |
+
gr.Audio(type='filepath',label="base Music"),
|
324 |
+
gr.Audio(type='filepath',label="drum Music"),
|
325 |
+
gr.Audio(type='filepath',label="other Music")
|
326 |
+
#gr.outputs.Audio(type='filepath')
|
327 |
+
],
|
328 |
submit.click(predict_batched, inputs=[text, melody],
|
329 |
outputs=[output], batch=True, max_batch_size=MAX_BATCH_SIZE)
|
330 |
radio.change(toggle_audio_src, radio, [melody], queue=False, show_progress=False)
|