Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Base(text_size=gr.the
|
|
61 |
with gr.Column(variant='panel'):
|
62 |
midi_synth = gr.Audio(label="synthesized midi")
|
63 |
upload_button = gr.UploadButton("Upload a MIDI File", file_types=[".mid"])
|
64 |
-
upload_button.
|
65 |
prompt = gr.Textbox(label="prompt", info="Enter a descriptive text prompt to guide the audio generation.")
|
66 |
with gr.Column(variant='panel'):
|
67 |
midi.upload(synthesize, inputs=midi, outputs=midi_synth)
|
|
|
61 |
with gr.Column(variant='panel'):
|
62 |
midi_synth = gr.Audio(label="synthesized midi")
|
63 |
upload_button = gr.UploadButton("Upload a MIDI File", file_types=[".mid"])
|
64 |
+
upload_button.upload(synthesize, upload_button, midi_synth)
|
65 |
prompt = gr.Textbox(label="prompt", info="Enter a descriptive text prompt to guide the audio generation.")
|
66 |
with gr.Column(variant='panel'):
|
67 |
midi.upload(synthesize, inputs=midi, outputs=midi_synth)
|