tee342 commited on
Commit
fc68d33
·
verified ·
1 Parent(s): 80b95c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -608,20 +608,20 @@ harmony_btn.click(
608
 
609
  # --- Batch Processing ---
610
  with gr.Tab("🔊 Batch Processing"):
611
- batch_files = gr.File(label="Upload Multiple Files", file_count="multiple")
612
- batch_effects = gr.CheckboxGroup(choices=preset_choices["Default"], label="Apply Effects in Order")
613
- batch_isolate = gr.Checkbox(label="Isolate Vocals After Effects")
614
- batch_preset_dropdown = gr.Dropdown(choices=preset_names, label="Select Preset", value=preset_names[0])
615
- batch_export_format = gr.Dropdown(choices=["MP3", "WAV"], label="Export Format", value="MP3")
616
- batch_process_btn = gr.Button("Process All Files")
617
- batch_download = gr.File(label="Download ZIP of All Processed Files")
618
- batch_status = gr.Textbox(label="Status", value="Ready", interactive=False)
619
-
620
- batch_process_btn.click(
621
- fn=batch_process_audio,
622
- inputs=[batch_files, batch_effects, batch_isolate, batch_preset_dropdown, batch_export_format],
623
- outputs=[batch_download, batch_status]
624
- )
625
 
626
  # --- AI Auto-Tune ---
627
  with gr.Tab("🎤 AI Auto-Tune"):
 
608
 
609
  # --- Batch Processing ---
610
  with gr.Tab("🔊 Batch Processing"):
611
+ batch_files = gr.File(label="Upload Multiple Files", file_count="multiple")
612
+ batch_effects = gr.CheckboxGroup(choices=preset_choices["Default"], label="Apply Effects in Order")
613
+ batch_isolate = gr.Checkbox(label="Isolate Vocals After Effects")
614
+ batch_preset_dropdown = gr.Dropdown(choices=preset_names, label="Select Preset", value=preset_names[0])
615
+ batch_export_format = gr.Dropdown(choices=["MP3", "WAV"], label="Export Format", value="MP3")
616
+ batch_process_btn = gr.Button("Process All Files")
617
+ batch_download = gr.File(label="Download ZIP of All Processed Files")
618
+ batch_status = gr.Textbox(label="Status", value="Ready", interactive=False)
619
+
620
+ batch_process_btn.click(
621
+ fn=batch_process_audio,
622
+ inputs=[batch_files, batch_effects, batch_isolate, batch_preset_dropdown, batch_export_format],
623
+ outputs=[batch_download, batch_status]
624
+ )
625
 
626
  # --- AI Auto-Tune ---
627
  with gr.Tab("🎤 AI Auto-Tune"):