tee342 commited on
Commit
e41df33
·
verified ·
1 Parent(s): fc163b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -7
app.py CHANGED
@@ -222,14 +222,19 @@ interface = gr.Interface(
222
  description="Upload multiple files, apply effects in bulk, and download all results in a single ZIP.",
223
  allow_flagging="never"
224
  )
225
- ],
226
- outputs=[
227
- gr.Audio(label="Processed Audio", type="filepath"),
228
- gr.Image(label="Waveform Preview")
229
- gr.File(label="Download All Processed Files (ZIP)")
 
 
 
 
230
  ],
231
- title="AI Audio Studio - Pro Edition",
232
- description="Apply multiple effects, isolate vocals, and export polished tracks — all powered by AI!",
 
233
  allow_flagging="never"
234
  )
235
 
 
222
  description="Upload multiple files, apply effects in bulk, and download all results in a single ZIP.",
223
  allow_flagging="never"
224
  )
225
+ ]
226
+ interface = gr.Interface(
227
+ fn=batch_process_audio,
228
+ inputs=[
229
+ gr.File(label="Upload Multiple Audio Files", file_count="multiple"),
230
+ gr.CheckboxGroup(choices=effect_options, label="Apply Effects in Order"),
231
+ gr.Checkbox(label="Isolate Vocals After Effects"),
232
+ gr.Dropdown(choices=preset_names, label="Select Preset", value=preset_names[0] if preset_names else None),
233
+ gr.Dropdown(choices=["MP3", "WAV"], label="Export Format", value="MP3")
234
  ],
235
+ outputs=gr.File(label="Download ZIP of All Processed Files"),
236
+ title="AI Audio Studio - Batch Edition",
237
+ description="Upload multiple files, apply effects in bulk, and download all results in a single ZIP.",
238
  allow_flagging="never"
239
  )
240