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