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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def inference(audio_file, model_name, two_stems, mp3, mp3_bitrate):
46
  iface = gr.Interface(
47
  fn=inference,
48
  inputs=[
49
- gr.Audio(source="upload", 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)", optional=True),
52
  gr.Checkbox(label="Save as MP3"),
 
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"),