Politrees commited on
Commit
00ae72d
·
verified ·
1 Parent(s): 777d8b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -248,7 +248,7 @@ with gr.Blocks(title="🎵 Audio Separator (by Politrees) 🎵", css="footer{dis
248
  roformer_seg_size = gr.Slider(minimum=32, maximum=4000, step=32, value=256, label="Segment Size", info="Larger consumes more resources, but may give better results.")
249
  roformer_overlap = gr.Slider(minimum=2, maximum=4, step=1, value=4, label="Overlap", info="Amount of overlap between prediction windows.")
250
  with gr.Row():
251
- roformer_audio = gr.Audio(label="Input Audio")
252
  with gr.Row():
253
  roformer_button = gr.Button("Separate!", variant="primary")
254
  with gr.Row():
@@ -262,7 +262,7 @@ with gr.Blocks(title="🎵 Audio Separator (by Politrees) 🎵", css="footer{dis
262
  mdx23c_seg_size = gr.Slider(minimum=32, maximum=4000, step=32, value=256, label="Segment Size", info="Larger consumes more resources, but may give better results.")
263
  mdx23c_overlap = gr.Slider(minimum=2, maximum=50, step=1, value=8, label="Overlap", info="Amount of overlap between prediction windows.")
264
  with gr.Row():
265
- mdx23c_audio = gr.Audio(label="Input Audio")
266
  with gr.Row():
267
  mdx23c_button = gr.Button("Separate!", variant="primary")
268
  with gr.Row():
@@ -278,7 +278,7 @@ with gr.Blocks(title="🎵 Audio Separator (by Politrees) 🎵", css="footer{dis
278
  mdx_overlap = gr.Slider(minimum=0.001, maximum=0.999, step=0.001, value=0.25, label="Overlap")
279
  mdx_denoise = gr.Checkbox(value=True, label="Denoise", info="Enable denoising during separation.")
280
  with gr.Row():
281
- mdx_audio = gr.Audio(label="Input Audio")
282
  with gr.Row():
283
  mdx_button = gr.Button("Separate!", variant="primary")
284
  with gr.Row():
@@ -296,7 +296,7 @@ with gr.Blocks(title="🎵 Audio Separator (by Politrees) 🎵", css="footer{dis
296
  vr_post_process_threshold = gr.Slider(minimum=0.1, maximum=0.3, step=0.1, value=0.2, label="Post Process Threshold", info="Threshold for post-processing.")
297
  vr_high_end_process = gr.Checkbox(value=False, label="High End Process", info="Mirror the missing frequency range of the output.")
298
  with gr.Row():
299
- vr_audio = gr.Audio(label="Input Audio")
300
  with gr.Row():
301
  vr_button = gr.Button("Separate!", variant="primary")
302
  with gr.Row():
@@ -312,7 +312,7 @@ with gr.Blocks(title="🎵 Audio Separator (by Politrees) 🎵", css="footer{dis
312
  demucs_overlap = gr.Slider(minimum=0.001, maximum=0.999, step=0.001, value=0.25, label="Overlap")
313
  demucs_segments_enabled = gr.Checkbox(value=True, label="Segment-wise processing")
314
  with gr.Row():
315
- demucs_audio = gr.Audio(label="Input Audio")
316
  with gr.Row():
317
  demucs_button = gr.Button("Separate!", variant="primary")
318
  with gr.Row():
 
248
  roformer_seg_size = gr.Slider(minimum=32, maximum=4000, step=32, value=256, label="Segment Size", info="Larger consumes more resources, but may give better results.")
249
  roformer_overlap = gr.Slider(minimum=2, maximum=4, step=1, value=4, label="Overlap", info="Amount of overlap between prediction windows.")
250
  with gr.Row():
251
+ roformer_audio = gr.Audio(label="Input Audio", type="filepath")
252
  with gr.Row():
253
  roformer_button = gr.Button("Separate!", variant="primary")
254
  with gr.Row():
 
262
  mdx23c_seg_size = gr.Slider(minimum=32, maximum=4000, step=32, value=256, label="Segment Size", info="Larger consumes more resources, but may give better results.")
263
  mdx23c_overlap = gr.Slider(minimum=2, maximum=50, step=1, value=8, label="Overlap", info="Amount of overlap between prediction windows.")
264
  with gr.Row():
265
+ mdx23c_audio = gr.Audio(label="Input Audio", type="filepath")
266
  with gr.Row():
267
  mdx23c_button = gr.Button("Separate!", variant="primary")
268
  with gr.Row():
 
278
  mdx_overlap = gr.Slider(minimum=0.001, maximum=0.999, step=0.001, value=0.25, label="Overlap")
279
  mdx_denoise = gr.Checkbox(value=True, label="Denoise", info="Enable denoising during separation.")
280
  with gr.Row():
281
+ mdx_audio = gr.Audio(label="Input Audio", type="filepath")
282
  with gr.Row():
283
  mdx_button = gr.Button("Separate!", variant="primary")
284
  with gr.Row():
 
296
  vr_post_process_threshold = gr.Slider(minimum=0.1, maximum=0.3, step=0.1, value=0.2, label="Post Process Threshold", info="Threshold for post-processing.")
297
  vr_high_end_process = gr.Checkbox(value=False, label="High End Process", info="Mirror the missing frequency range of the output.")
298
  with gr.Row():
299
+ vr_audio = gr.Audio(label="Input Audio", type="filepath")
300
  with gr.Row():
301
  vr_button = gr.Button("Separate!", variant="primary")
302
  with gr.Row():
 
312
  demucs_overlap = gr.Slider(minimum=0.001, maximum=0.999, step=0.001, value=0.25, label="Overlap")
313
  demucs_segments_enabled = gr.Checkbox(value=True, label="Segment-wise processing")
314
  with gr.Row():
315
+ demucs_audio = gr.Audio(label="Input Audio", type="filepath")
316
  with gr.Row():
317
  demucs_button = gr.Button("Separate!", variant="primary")
318
  with gr.Row():