kevinwang676 commited on
Commit
b59cbfc
·
1 Parent(s): 3170d07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 -d cpu "+filename+".wav -o output"
131
  else:
132
- command_demucs = "python3 -m demucs --two-stems=vocals --mp3 --mp3-bitrate 128 -d cpu "+filename+".mp3 -o output"
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