owiedotch commited on
Commit
af77e19
1 Parent(s): 532f73f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,9 +46,9 @@ def inference(audio_file, model_name, two_stems, mp3, mp3_bitrate):
46
  iface = gr.Interface(
47
  fn=inference,
48
  inputs=[
49
- gr.Audio(type="filepath"), # Remove source="upload"
50
  gr.Dropdown(["htdemucs", "htdemucs_ft", "htdemucs_6s", "hdemucs_mmi", "mdx", "mdx_extra", "mdx_q", "mdx_extra_q"], label="Model Name"),
51
- gr.Dropdown(["vocals", "drums", "bass", "other"], label="Two Stems (Optional)", optional=True),
52
  gr.Checkbox(label="Save as MP3"),
53
  gr.Slider(128, 320, step=32, label="MP3 Bitrate", visible=False),
54
  ],
 
46
  iface = gr.Interface(
47
  fn=inference,
48
  inputs=[
49
+ gr.Audio(type="filepath"),
50
  gr.Dropdown(["htdemucs", "htdemucs_ft", "htdemucs_6s", "hdemucs_mmi", "mdx", "mdx_extra", "mdx_q", "mdx_extra_q"], label="Model Name"),
51
+ gr.Dropdown(["vocals", "drums", "bass", "other"], label="Two Stems (Optional)"), # Remove optional=True
52
  gr.Checkbox(label="Save as MP3"),
53
  gr.Slider(128, 320, step=32, label="MP3 Bitrate", visible=False),
54
  ],