yoyolicoris commited on
Commit
ab14372
·
verified ·
1 Parent(s): 38dbb18

fix: wrong audio type

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -23,11 +23,11 @@ examples = []
23
  gr.Interface(
24
  inference,
25
  [
26
- gr.Audio(type="numpy", label="Input"),
27
  gr.Checkbox(label="Faster inference without X-UMX")
28
  ],
29
- [gr.Audio(type="file", label="Vocals"), gr.outputs.Audio(type="file", label="Bass"), gr.outputs.Audio(
30
- type="file", label="Drums"), gr.outputs.Audio(type="file", label="Other")],
31
  title=title,
32
  description=description,
33
  article=article,
 
23
  gr.Interface(
24
  inference,
25
  [
26
+ gr.Audio(type="filepath", label="Input"),
27
  gr.Checkbox(label="Faster inference without X-UMX")
28
  ],
29
+ [gr.Audio(type="filepath", label="Vocals"), gr.outputs.Audio(type="filepath", label="Bass"), gr.outputs.Audio(
30
+ type="filepath", label="Drums"), gr.outputs.Audio(type="filepath", label="Other")],
31
  title=title,
32
  description=description,
33
  article=article,