Spaces:
Sleeping
Sleeping
Upload infer_new.py
Browse files- infer_new.py +2 -2
infer_new.py
CHANGED
@@ -122,8 +122,8 @@ def api_convert_voice(spk_id,voice_transform,input_audio_path):
|
|
122 |
#vocal_path = f"output/{split_model}/{spk_id}_input_audio/vocals.wav"
|
123 |
#inst = f"output/{split_model}/{spk_id}_input_audio/no_vocals.wav"
|
124 |
|
125 |
-
vocal_path = f"output/{base_name}/vocals.wav"
|
126 |
-
inst = f"output/{
|
127 |
|
128 |
output_path = convert_voice(spk_id, vocal_path, voice_transform)
|
129 |
output_path1= combine_vocal_and_inst(output_path,inst)
|
|
|
122 |
#vocal_path = f"output/{split_model}/{spk_id}_input_audio/vocals.wav"
|
123 |
#inst = f"output/{split_model}/{spk_id}_input_audio/no_vocals.wav"
|
124 |
|
125 |
+
vocal_path = f"output/{split_model}/{base_name}/vocals.wav"
|
126 |
+
inst = f"output/{split_model}/{base_name}/no_vocals.wav"
|
127 |
|
128 |
output_path = convert_voice(spk_id, vocal_path, voice_transform)
|
129 |
output_path1= combine_vocal_and_inst(output_path,inst)
|