Spaces:
Running
Running
Deila Proalfa
commited on
Commit
·
b1dbfe9
1
Parent(s):
420f095
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,8 @@ 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 |
-
|
|
|
|
| 36 |
inference,
|
| 37 |
gr.inputs.Audio(type = "numpy", label = "Input"),
|
| 38 |
[gr.outputs.Audio(type = "filepath", label = "Vocals"),
|
|
@@ -40,11 +41,11 @@ demo = gr.Interface(
|
|
| 40 |
gr.outputs.Audio(type = "filepath", label = "Drums"),
|
| 41 |
gr.outputs.Audio(type = "filepath", label = "Other")
|
| 42 |
],
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
)
|
| 49 |
|
| 50 |
#demo.queue(concurrency_count = 10)
|
|
|
|
| 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"),
|
|
|
|
| 41 |
gr.outputs.Audio(type = "filepath", label = "Drums"),
|
| 42 |
gr.outputs.Audio(type = "filepath", label = "Other")
|
| 43 |
],
|
| 44 |
+
article = article,
|
| 45 |
+
theme = 'nuttea/Softblue',
|
| 46 |
+
allow_flagging = "never",
|
| 47 |
+
css="style.css", # Hinzugefügt
|
| 48 |
+
theme="NoCrypt/miku@1.2.1" # Hinzugefügt
|
| 49 |
)
|
| 50 |
|
| 51 |
#demo.queue(concurrency_count = 10)
|