OpenSound commited on
Commit
60e0cac
·
verified ·
1 Parent(s): a748bcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -5
app.py CHANGED
@@ -186,17 +186,22 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
186
  with gr.Tab("Target Sound Extraction"):
187
  # Basic Input: Text prompt
188
  with gr.Row():
189
- gt_file_input = gr.Audio(label="Upload Audio to Extract", type="filepath", value="demo/0_mix.wav", scale=3)
 
 
 
 
 
 
190
  text_input = gr.Textbox(
191
- label="Text Prompt",
192
  show_label=True,
193
  max_lines=2,
194
  placeholder="Enter your prompt",
195
- container=True,
196
  value="The sound of gunshot",
197
- scale=2
 
198
  )
199
- # Run button
200
  run_button = gr.Button("Extract", scale=1)
201
 
202
  # Output Component
 
186
  with gr.Tab("Target Sound Extraction"):
187
  # Basic Input: Text prompt
188
  with gr.Row():
189
+ gt_file_input = gr.Audio(
190
+ label="Upload Audio to Extract",
191
+ type="filepath",
192
+ value="demo/0_mix.wav"
193
+ )
194
+
195
+ with gr.Row():
196
  text_input = gr.Textbox(
197
+ label="The sound you want to extract/separate",
198
  show_label=True,
199
  max_lines=2,
200
  placeholder="Enter your prompt",
 
201
  value="The sound of gunshot",
202
+ container=True,
203
+ scale=4
204
  )
 
205
  run_button = gr.Button("Extract", scale=1)
206
 
207
  # Output Component