Spaces:
Running
Running
Upload myinfer_latest.py
Browse files- myinfer_latest.py +2 -0
myinfer_latest.py
CHANGED
@@ -254,7 +254,9 @@ def worker(spk_id, input_audio_path, voice_transform, unique_id, output_queue):
|
|
254 |
output_queue.put(output_audio_path)
|
255 |
print("added to output queue")
|
256 |
except Exception as e:
|
|
|
257 |
output_queue.put(e) # Send the exception to the main process for debugging
|
|
|
258 |
|
259 |
def convert_voice(spk_id, input_audio_path, voice_transform,unique_id):
|
260 |
get_vc(spk_id,0.5)
|
|
|
254 |
output_queue.put(output_audio_path)
|
255 |
print("added to output queue")
|
256 |
except Exception as e:
|
257 |
+
print("exception in adding to queue")
|
258 |
output_queue.put(e) # Send the exception to the main process for debugging
|
259 |
+
|
260 |
|
261 |
def convert_voice(spk_id, input_audio_path, voice_transform,unique_id):
|
262 |
get_vc(spk_id,0.5)
|