tee342 commited on
Commit
d7c6a5a
·
verified ·
1 Parent(s): 4f047ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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(auto_eq.__defaults__[0].keys()), label="Genre", value="Pop")
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",