Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,10 +60,10 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Base(text_size=gr.the
|
|
60 |
with gr.Row():
|
61 |
with gr.Column(variant='panel'):
|
62 |
midi = gr.File(label="midi file", file_types=[".mid"])
|
63 |
-
midi_synth = gr.Audio(label="synthesized midi")
|
64 |
-
midi.upload(synthesize, inputs=midi, outputs=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 |
audio = gr.Audio(label="generated audio")
|
68 |
with gr.Accordion("Advanced Settings", open=False):
|
69 |
duration = gr.Slider(0, 30, value=10, step=2.5, label="duration", info="Modify the duration in seconds of the output audio file.")
|
|
|
60 |
with gr.Row():
|
61 |
with gr.Column(variant='panel'):
|
62 |
midi = gr.File(label="midi file", file_types=[".mid"])
|
|
|
|
|
63 |
prompt = gr.Textbox(label="prompt", info="Enter a descriptive text prompt to guide the audio generation.")
|
64 |
with gr.Column(variant='panel'):
|
65 |
+
midi_synth = gr.Audio(label="synthesized midi")
|
66 |
+
midi.upload(synthesize, inputs=midi, outputs=midi_synth)
|
67 |
audio = gr.Audio(label="generated audio")
|
68 |
with gr.Accordion("Advanced Settings", open=False):
|
69 |
duration = gr.Slider(0, 30, value=10, step=2.5, label="duration", info="Modify the duration in seconds of the output audio file.")
|