Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -235,7 +235,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
235 |
submit = gr.Button("Edit")
|
236 |
|
237 |
with gr.Row():
|
238 |
-
t_start = gr.Slider(minimum=
|
239 |
info="Higher T-start -> stronger edit. Lower T-start -> closer to original audio")
|
240 |
model_id = gr.Dropdown(label="AudioLDM2 Version", choices=["cvssp/audioldm2",
|
241 |
"cvssp/audioldm2-large",
|
@@ -252,7 +252,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
252 |
label="Source Guidance Scale", interactive=True, scale=1)
|
253 |
cfg_scale_tar = gr.Number(value=12, minimum=0.5, maximum=25, precision=None,
|
254 |
label="Target Guidance Scale", interactive=True, scale=1)
|
255 |
-
steps = gr.Number(value=
|
256 |
label="Num Diffusion Steps", interactive=True, scale=1)
|
257 |
with gr.Row():
|
258 |
seed = gr.Number(value=0, precision=0, label="Seed", interactive=True)
|
|
|
235 |
submit = gr.Button("Edit")
|
236 |
|
237 |
with gr.Row():
|
238 |
+
t_start = gr.Slider(minimum=10, maximum=240, value=30, step=1, label="T-start", interactive=True, scale=3,
|
239 |
info="Higher T-start -> stronger edit. Lower T-start -> closer to original audio")
|
240 |
model_id = gr.Dropdown(label="AudioLDM2 Version", choices=["cvssp/audioldm2",
|
241 |
"cvssp/audioldm2-large",
|
|
|
252 |
label="Source Guidance Scale", interactive=True, scale=1)
|
253 |
cfg_scale_tar = gr.Number(value=12, minimum=0.5, maximum=25, precision=None,
|
254 |
label="Target Guidance Scale", interactive=True, scale=1)
|
255 |
+
steps = gr.Number(value=50, step=1, minimum=20, maximum=300,
|
256 |
label="Num Diffusion Steps", interactive=True, scale=1)
|
257 |
with gr.Row():
|
258 |
seed = gr.Number(value=0, precision=0, label="Seed", interactive=True)
|