smjain commited on
Commit
e356f83
1 Parent(s): 1864f11

Upload myinfer_latest.py

Browse files
Files changed (1) hide show
  1. myinfer_latest.py +1 -6
myinfer_latest.py CHANGED
@@ -197,12 +197,7 @@ def api_convert_voice():
197
  # Wait for the process to finish and get the result
198
  p.join()
199
  print("*******waiting for process to complete ")
200
- try:
201
- output_path = output_queue.get(timeout=10) # Wait for 10 seconds
202
- print("output path of converted voice", output_path)
203
- except Empty:
204
- print("Queue was empty or worker did not complete in time")
205
-
206
  output_path = output_queue.get()
207
  #if isinstance(output_path, Exception):
208
  # print("Exception in worker:", output_path)
 
197
  # Wait for the process to finish and get the result
198
  p.join()
199
  print("*******waiting for process to complete ")
200
+
 
 
 
 
 
201
  output_path = output_queue.get()
202
  #if isinstance(output_path, Exception):
203
  # print("Exception in worker:", output_path)