TheMaisk commited on
Commit
0edb9fa
·
1 Parent(s): 89751a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -32,20 +32,18 @@ def inference(audio):
32
 
33
  article = "Inspired by <p><a href='https://github.com/facebookresearch/demucs' target='_blank'>Demucs</a></p>\n<p>Copyright &copy; 2023 JP Madsen</p"
34
 
35
-
36
  demo = gr.Interface(
37
  inference,
38
- gr.inputs.Audio(type = "numpy", label = "Input"),
39
- [gr.outputs.Audio(type = "filepath", label = "Vocals"),
40
- gr.outputs.Audio(type = "filepath", label = "Bass"),
41
- gr.outputs.Audio(type = "filepath", label = "Drums"),
42
- gr.outputs.Audio(type = "filepath", label = "Other")
43
  ],
44
  article = article,
45
  theme = 'NoCrypt/[email protected]',
46
  allow_flagging = "never",
47
- css="style.css", # Hinzugefügt
48
  )
49
 
50
- #demo.queue(concurrency_count = 10)
51
  demo.launch()
 
32
 
33
  article = "Inspired by <p><a href='https://github.com/facebookresearch/demucs' target='_blank'>Demucs</a></p>\n<p>Copyright &copy; 2023 JP Madsen</p"
34
 
 
35
  demo = gr.Interface(
36
  inference,
37
+ gr.Audio(type = "numpy", label = "Input"), # Updated
38
+ [gr.Audio(type = "filepath", label = "Vocals"), # Updated
39
+ gr.Audio(type = "filepath", label = "Bass"), # Updated
40
+ gr.Audio(type = "filepath", label = "Drums"), # Updated
41
+ gr.Audio(type = "filepath", label = "Other") # Updated
42
  ],
43
  article = article,
44
  theme = 'NoCrypt/[email protected]',
45
  allow_flagging = "never",
46
+ css="style.css",
47
  )
48
 
 
49
  demo.launch()