Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,11 +49,11 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Base(text_size=gr.the
|
|
49 |
""")
|
50 |
with gr.Row():
|
51 |
with gr.Column(variant='panel'):
|
52 |
-
midi = gr.File(label="midi", file_types=[".mid"])
|
53 |
prompt = gr.Textbox(label="prompt", info="Enter a descriptive text prompt to guide the audio generation.")
|
54 |
with gr.Column(variant='panel'):
|
55 |
audio = gr.Audio(label="audio")
|
56 |
-
with gr.Accordion("Advanced
|
57 |
duration = gr.Slider(0, 30, value=5, step=5, label="duration (seconds)", info="Modify the duration of the output audio file.")
|
58 |
inf = gr.Slider(0, 50, value=20, step=0.1, label="inference steps", info="Edit the number of denoising steps. A larger number usually leads to higher quality but slower results.")
|
59 |
guidance_scale = gr.Slider(0, 4, value=2.5, step=0.5, label="guidance scale", info="Modify the guidance scale. The higher the value the more linked the generated audio to the text prompt, sometimes at the expense of lower quality.")
|
|
|
49 |
""")
|
50 |
with gr.Row():
|
51 |
with gr.Column(variant='panel'):
|
52 |
+
midi = gr.File(label="midi file", file_types=[".mid"])
|
53 |
prompt = gr.Textbox(label="prompt", info="Enter a descriptive text prompt to guide the audio generation.")
|
54 |
with gr.Column(variant='panel'):
|
55 |
audio = gr.Audio(label="audio")
|
56 |
+
with gr.Accordion("Advanced Settings", open=False):
|
57 |
duration = gr.Slider(0, 30, value=5, step=5, label="duration (seconds)", info="Modify the duration of the output audio file.")
|
58 |
inf = gr.Slider(0, 50, value=20, step=0.1, label="inference steps", info="Edit the number of denoising steps. A larger number usually leads to higher quality but slower results.")
|
59 |
guidance_scale = gr.Slider(0, 4, value=2.5, step=0.5, label="guidance scale", info="Modify the guidance scale. The higher the value the more linked the generated audio to the text prompt, sometimes at the expense of lower quality.")
|