Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files- myinfer_latest.py +1 -1
myinfer_latest.py
CHANGED
@@ -199,7 +199,7 @@ def api_convert_voice():
|
|
199 |
try:
|
200 |
output_path = output_queue.get(timeout=10) # Wait for 10 seconds
|
201 |
print("output path of converted voice", output_path)
|
202 |
-
except
|
203 |
print("Queue was empty or worker did not complete in time")
|
204 |
|
205 |
#output_path = output_queue.get()
|
|
|
199 |
try:
|
200 |
output_path = output_queue.get(timeout=10) # Wait for 10 seconds
|
201 |
print("output path of converted voice", output_path)
|
202 |
+
except output_queue.Empty:
|
203 |
print("Queue was empty or worker did not complete in time")
|
204 |
|
205 |
#output_path = output_queue.get()
|