Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -188,13 +188,13 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 188 |
|
| 189 |
with gr.Row():
|
| 190 |
with gr.Column():
|
| 191 |
-
src_prompt = gr.Textbox(label="
|
| 192 |
-
placeholder="
|
| 193 |
input_audio = gr.Audio(sources=["upload", "microphone"], type="filepath", label="Input Audio",
|
| 194 |
interactive=True, scale=1)
|
| 195 |
|
| 196 |
with gr.Column():
|
| 197 |
-
tar_prompt = gr.Textbox(label="Target Prompt",
|
| 198 |
lines=2, interactive=True)
|
| 199 |
output_audio = gr.Audio(label="Edited Audio", interactive=False, scale=1)
|
| 200 |
|
|
@@ -210,7 +210,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 210 |
"cvssp/audioldm2-music"],
|
| 211 |
info="Choose a checkpoint suitable for your intended audio and edit.",
|
| 212 |
value="cvssp/audioldm2-music", interactive=True, type="value", scale=2)
|
| 213 |
-
with gr.Accordion("
|
| 214 |
|
| 215 |
with gr.Row():
|
| 216 |
cfg_scale_src = gr.Number(value=3, minimum=0.5, maximum=25, precision=None,
|
|
|
|
| 188 |
|
| 189 |
with gr.Row():
|
| 190 |
with gr.Column():
|
| 191 |
+
src_prompt = gr.Textbox(label="Source Prompt", lines=2, interactive=True, info= "Optional: Describe the original audio input",
|
| 192 |
+
placeholder="A recording of a happy upbeat classical music piece",)
|
| 193 |
input_audio = gr.Audio(sources=["upload", "microphone"], type="filepath", label="Input Audio",
|
| 194 |
interactive=True, scale=1)
|
| 195 |
|
| 196 |
with gr.Column():
|
| 197 |
+
tar_prompt = gr.Textbox(label="Target Prompt", info="Describe your desired edited output", placeholder="a recording of a happy upbeat arcade game soundtrack",
|
| 198 |
lines=2, interactive=True)
|
| 199 |
output_audio = gr.Audio(label="Edited Audio", interactive=False, scale=1)
|
| 200 |
|
|
|
|
| 210 |
"cvssp/audioldm2-music"],
|
| 211 |
info="Choose a checkpoint suitable for your intended audio and edit.",
|
| 212 |
value="cvssp/audioldm2-music", interactive=True, type="value", scale=2)
|
| 213 |
+
with gr.Accordion("Advanced Options", open=False):
|
| 214 |
|
| 215 |
with gr.Row():
|
| 216 |
cfg_scale_src = gr.Number(value=3, minimum=0.5, maximum=25, precision=None,
|