Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files- myinfer_latest.py +5 -5
myinfer_latest.py
CHANGED
@@ -182,11 +182,11 @@ def api_convert_voice():
|
|
182 |
#created_files.append(input_audio_path)
|
183 |
|
184 |
#split audio
|
185 |
-
cut_vocal_and_inst(input_audio_path,spk_id,unique_id)
|
186 |
-
print("audio splitting performed")
|
187 |
-
vocal_path = f"output/{spk_id}_{unique_id}/{split_model}/{spk_id}_input_audio_{unique_id}/vocals.wav"
|
188 |
-
inst = f"output/{spk_id}_{unique_id}/{split_model}/{spk_id}_input_audio_{unique_id}/no_vocals.wav"
|
189 |
-
print("*****before making call to convert ", unique_id)
|
190 |
output_queue = SimpleQueue()
|
191 |
ctx = get_context('spawn')
|
192 |
# Create and start the process
|
|
|
182 |
#created_files.append(input_audio_path)
|
183 |
|
184 |
#split audio
|
185 |
+
#cut_vocal_and_inst(input_audio_path,spk_id,unique_id)
|
186 |
+
#print("audio splitting performed")
|
187 |
+
#vocal_path = f"output/{spk_id}_{unique_id}/{split_model}/{spk_id}_input_audio_{unique_id}/vocals.wav"
|
188 |
+
#inst = f"output/{spk_id}_{unique_id}/{split_model}/{spk_id}_input_audio_{unique_id}/no_vocals.wav"
|
189 |
+
#print("*****before making call to convert ", unique_id)
|
190 |
output_queue = SimpleQueue()
|
191 |
ctx = get_context('spawn')
|
192 |
# Create and start the process
|