Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,18 +32,20 @@ def inference(audio):
|
|
32 |
|
33 |
article = "Inspired by <p><a href='https://github.com/facebookresearch/demucs' target='_blank'>Demucs</a></p>\n<p>Copyright © 2023 JP Madsen</p"
|
34 |
|
|
|
35 |
demo = gr.Interface(
|
36 |
inference,
|
37 |
-
gr.Audio(type = "numpy", label = "Input"),
|
38 |
-
[gr.Audio(type = "filepath", label = "Vocals"),
|
39 |
-
gr.Audio(type = "filepath", label = "Bass"),
|
40 |
-
gr.Audio(type = "filepath", label = "Drums"),
|
41 |
-
gr.Audio(type = "filepath", label = "Other")
|
42 |
],
|
43 |
article = article,
|
44 |
-
theme = '
|
45 |
allow_flagging = "never",
|
46 |
-
css="style.css",
|
47 |
)
|
48 |
|
49 |
-
demo.
|
|
|
|
32 |
|
33 |
article = "Inspired by <p><a href='https://github.com/facebookresearch/demucs' target='_blank'>Demucs</a></p>\n<p>Copyright © 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 = 'syddharth/gray-minimal',
|
46 |
allow_flagging = "never",
|
47 |
+
css="style.css", # Hinzugefügt
|
48 |
)
|
49 |
|
50 |
+
#demo.queue(concurrency_count = 10)
|
51 |
+
demo.launch()
|