2021-01-22 14:47:05 +01:00
|
|
|
"""
|
|
|
|
Test the non GUI version of UVR
|
2021-01-22 15:12:00 +01:00
|
|
|
|
|
|
|
To see configurable options for the VocalRemover, go to inference_v4.py and see variable 'default_data'
|
2021-01-22 14:47:05 +01:00
|
|
|
"""
|
|
|
|
from inference_v4 import (VocalRemover, default_data)
|
|
|
|
|
|
|
|
seperation_data = default_data.copy()
|
2021-01-22 15:12:00 +01:00
|
|
|
seperation_data['input_paths'] = ['fe']
|
2021-01-22 14:47:05 +01:00
|
|
|
seperation_data['export_path'] = ''
|
2021-01-22 15:12:00 +01:00
|
|
|
seperation_data['instrumentalModel'] = r'B:\boska\Documents\Dilan\Dropbox\Github\ultimatevocalremovergui\models\v4\Main Models\MGM_LOWEND_B_v4_sr33075_hl384_nf2048.pth'
|
|
|
|
seperation_data['stackPasses'] = 2
|
|
|
|
|
2021-01-22 14:47:05 +01:00
|
|
|
|
|
|
|
vocal_remover = VocalRemover(data=seperation_data)
|
|
|
|
vocal_remover.seperate_files()
|