linoyts HF staff commited on
Commit
899e1cc
1 Parent(s): ca84b15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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="OPTIONAL: Source Prompt", lines=2, interactive=True,
192
- placeholder="Optional: Describe the original audio input",)
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", placeholder="Describe your desired edited output",
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("More Options", open=False):
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,