Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files195 unmodified lines196197198199200201202199200201202203204205206207208209210211212195 unmodified lines # Wait for the process to finish and get the result p.join() print("*******waiting for process to complete ") output_path = output_queue.get() if isinstance(output_path, Exception): print("Exception in worker:", output_path) else: try: output_path = output_queue.get(timeout=10) # Wait for 10 seconds print("output path of converted voice", output_path) except queue.Empty: print("Queue was empty or worker did not complete in time")
#output_path = output_queue.get() #if isinstance(output_path, Exception): # print("Exception in worker:", output_path) #else: # print("output path of converted voice", output_path) #output_path = convert_voice(spk_id, vocal_path, voice_transform,unique_id) output_path1= combine_vocal_and_inst(output_path,inst,unique_id) myinfer_latest.py+10-4