Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -75,8 +75,8 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Base(text_size=gr.the
|
|
75 |
with gr.Column():
|
76 |
audio = gr.Audio(label="generated audio")
|
77 |
with gr.Accordion("Advanced Settings", open=False):
|
78 |
-
duration = gr.Slider(0,
|
79 |
-
inf = gr.Slider(0, 100, value=
|
80 |
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.")
|
81 |
neg_prompt = gr.Textbox(label="negative prompt", info="Optionally enter a negative text prompt not to guide the audio generation.")
|
82 |
seed = gr.Number(value=48, label="random seed", info="Change the random seed for a different generation result.")
|
|
|
75 |
with gr.Column():
|
76 |
audio = gr.Audio(label="generated audio")
|
77 |
with gr.Accordion("Advanced Settings", open=False):
|
78 |
+
duration = gr.Slider(0, 20, step=2.5, label="duration", info="Modify the duration in seconds of the output audio file. If not set it will be determined by the MIDI file.")
|
79 |
+
inf = gr.Slider(0, 100, value=40, step=1, label="inference steps", info="Edit the number of denoising steps. A larger number usually leads to higher quality but slower results.")
|
80 |
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.")
|
81 |
neg_prompt = gr.Textbox(label="negative prompt", info="Optionally enter a negative text prompt not to guide the audio generation.")
|
82 |
seed = gr.Number(value=48, label="random seed", info="Change the random seed for a different generation result.")
|