Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
227 |
-
|
228 |
-
|
229 |
-
gr.File(label="
|
|
|
|
|
|
|
|
|
230 |
],
|
231 |
-
|
232 |
-
|
|
|
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 |
|