Spaces:
Paused
Paused
Commit
·
b59cbfc
1
Parent(s):
3170d07
Update app.py
Browse files
app.py
CHANGED
@@ -127,9 +127,9 @@ def audio_separated(audio_input, progress=gr.Progress()):
|
|
127 |
|
128 |
# demucs process
|
129 |
if high_quality:
|
130 |
-
command_demucs = "python3 -m demucs --two-stems=vocals
|
131 |
else:
|
132 |
-
command_demucs = "python3 -m demucs --two-stems=vocals --mp3 --mp3-bitrate 128
|
133 |
|
134 |
os.system(command_demucs)
|
135 |
|
|
|
127 |
|
128 |
# demucs process
|
129 |
if high_quality:
|
130 |
+
command_demucs = "python3 -m demucs --two-stems=vocals "+filename+".wav -o output"
|
131 |
else:
|
132 |
+
command_demucs = "python3 -m demucs --two-stems=vocals --mp3 --mp3-bitrate 128 "+filename+".mp3 -o output"
|
133 |
|
134 |
os.system(command_demucs)
|
135 |
|