Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files- myinfer_latest.py +3 -3
myinfer_latest.py
CHANGED
|
@@ -249,9 +249,9 @@ def get_processed_audio(audio_id):
|
|
| 249 |
|
| 250 |
def worker(spk_id, input_audio_path, voice_transform, unique_id, output_queue):
|
| 251 |
try:
|
| 252 |
-
output_audio_path = convert_voice(spk_id, input_audio_path, voice_transform, unique_id)
|
| 253 |
-
print("output in worker for audio file", output_audio_path)
|
| 254 |
-
output_queue.put(
|
| 255 |
print("added to output queue")
|
| 256 |
except Exception as e:
|
| 257 |
print("exception in adding to queue")
|
|
|
|
| 249 |
|
| 250 |
def worker(spk_id, input_audio_path, voice_transform, unique_id, output_queue):
|
| 251 |
try:
|
| 252 |
+
#output_audio_path = convert_voice(spk_id, input_audio_path, voice_transform, unique_id)
|
| 253 |
+
#print("output in worker for audio file", output_audio_path)
|
| 254 |
+
output_queue.put("test")
|
| 255 |
print("added to output queue")
|
| 256 |
except Exception as e:
|
| 257 |
print("exception in adding to queue")
|