Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files- myinfer_latest.py +1 -1
myinfer_latest.py
CHANGED
@@ -188,7 +188,7 @@ def api_convert_voice():
|
|
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 = Queue()
|
191 |
-
ctx = get_context('
|
192 |
# Create and start the process
|
193 |
p = ctx.Process(target=worker, args=(spk_id, vocal_path, voice_transform, unique_id, output_queue))
|
194 |
p.start()
|
|
|
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 = Queue()
|
191 |
+
ctx = get_context('fork')
|
192 |
# Create and start the process
|
193 |
p = ctx.Process(target=worker, args=(spk_id, vocal_path, voice_transform, unique_id, output_queue))
|
194 |
p.start()
|