Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
8e4e92c
1
Parent(s):
08bea36
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ os.system('./separate_scripts/download_checkpoints.sh')
|
|
12 |
def inference(audio):
|
13 |
os.system("""python bytesep/inference.py --config_yaml=./scripts/4_train/musdb18/configs/vocals-accompaniment,resunet_subbandtime.yaml --checkpoint_path=./downloaded_checkpoints/resunet143_subbtandtime_vocals_8.8dB_350k_steps.pth --audio_path="""+audio.name+""" --output_path=sep_vocals.mp3""")
|
14 |
#os.system('./separate_scripts/separate_vocals.sh ' + audio.name + ' "sep_vocals.mp3"')
|
15 |
-
os.system("""python bytesep/inference.py --config_yaml=./scripts/4_train/musdb18/configs/vocals
|
16 |
#os.system('./separate_scripts/separate_accompaniment.sh ' + audio.name + ' "sep_accompaniment.mp3"')
|
17 |
#os.system('python separate_scripts/separate.py --audio_path=' +audio.name+' --source_type="accompaniment"')
|
18 |
#os.system('python separate_scripts/separate.py --audio_path=' +audio.name+' --source_type="vocals"')
|
|
|
12 |
def inference(audio):
|
13 |
os.system("""python bytesep/inference.py --config_yaml=./scripts/4_train/musdb18/configs/vocals-accompaniment,resunet_subbandtime.yaml --checkpoint_path=./downloaded_checkpoints/resunet143_subbtandtime_vocals_8.8dB_350k_steps.pth --audio_path="""+audio.name+""" --output_path=sep_vocals.mp3""")
|
14 |
#os.system('./separate_scripts/separate_vocals.sh ' + audio.name + ' "sep_vocals.mp3"')
|
15 |
+
os.system("""python bytesep/inference.py --config_yaml=./scripts/4_train/musdb18/configs/accompaniment-vocals,resunet_subbandtime.yaml --checkpoint_path=./downloaded_checkpoints/resunet143_subbtandtime_accompaniment_16.4dB_350k_steps.pth --audio_path="""+audio.name+""" --output_path=sep_accompaniment.mp3""")
|
16 |
#os.system('./separate_scripts/separate_accompaniment.sh ' + audio.name + ' "sep_accompaniment.mp3"')
|
17 |
#os.system('python separate_scripts/separate.py --audio_path=' +audio.name+' --source_type="accompaniment"')
|
18 |
#os.system('python separate_scripts/separate.py --audio_path=' +audio.name+' --source_type="vocals"')
|