Deila Proalfa commited on
Commit
b1dbfe9
·
1 Parent(s): 420f095

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
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 &copy; 2023 JP Madsen</p"
34
 
35
- demo = gr.Interface(
 
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
- #title = title,
44
- #description = description,
45
- article = article,
46
- theme = 'nuttea/Softblue',
47
- allow_flagging = "never"
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 &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"),
 
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/[email protected]" # Hinzugefügt
49
  )
50
 
51
  #demo.queue(concurrency_count = 10)