Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -710,11 +710,12 @@ with gr.Blocks(css="""
|
|
| 710 |
)
|
| 711 |
# --- Custom EQ Editor ---
|
| 712 |
with gr.Tab("🎛 Custom EQ Editor"):
|
|
|
|
| 713 |
gr.Interface(
|
| 714 |
fn=auto_eq,
|
| 715 |
inputs=[
|
| 716 |
gr.Audio(label="Upload Track", type="filepath"),
|
| 717 |
-
gr.Dropdown(choices=list(
|
| 718 |
],
|
| 719 |
outputs=gr.Audio(label="EQ-Enhanced Output", type="filepath"),
|
| 720 |
title="Custom EQ by Genre",
|
|
|
|
| 710 |
)
|
| 711 |
# --- Custom EQ Editor ---
|
| 712 |
with gr.Tab("🎛 Custom EQ Editor"):
|
| 713 |
+
eq_map = auto_eq.__defaults__[0]
|
| 714 |
gr.Interface(
|
| 715 |
fn=auto_eq,
|
| 716 |
inputs=[
|
| 717 |
gr.Audio(label="Upload Track", type="filepath"),
|
| 718 |
+
gr.Dropdown(choices=list(eq_map.keys()), label="Genre", value="Pop")
|
| 719 |
],
|
| 720 |
outputs=gr.Audio(label="EQ-Enhanced Output", type="filepath"),
|
| 721 |
title="Custom EQ by Genre",
|