Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files- myinfer_latest.py +2 -2
myinfer_latest.py
CHANGED
@@ -138,8 +138,8 @@ def api_convert_voice():
|
|
138 |
#split audio
|
139 |
cut_vocal_and_inst(input_audio_path,spk_id)
|
140 |
print("audio splitting performed")
|
141 |
-
vocal_path = f"output/{split_model}/{spk_id}
|
142 |
-
inst = f"output/{split_model}/{spk_id}
|
143 |
|
144 |
output_path = convert_voice(spk_id, vocal_path, voice_transform)
|
145 |
output_path1= combine_vocal_and_inst(output_path,inst)
|
|
|
138 |
#split audio
|
139 |
cut_vocal_and_inst(input_audio_path,spk_id)
|
140 |
print("audio splitting performed")
|
141 |
+
vocal_path = f"output/{split_model}/{spk_id}_input_audio_{unique_id}/vocals.wav"
|
142 |
+
inst = f"output/{split_model}/{spk_id}_input_audio_{unique_id}/no_vocals.wav"
|
143 |
|
144 |
output_path = convert_voice(spk_id, vocal_path, voice_transform)
|
145 |
output_path1= combine_vocal_and_inst(output_path,inst)
|