Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files75 unmodified lines767778798081269 unmodified lines35135235335435535635775 unmodified lineshash_hex = hash_obj.hexdigest()return hash_hexif os.path.isfile("rmvpe.pt"):f0method_mode.insert(2, "rmvpe")269 unmodified linesprotect,f0_file=f0_file)hash_val = hash_array(audio_opt)# Get the current thread's name or IDthread_name = threading.current_thread().name75 unmodified lines767778798081828384269 unmodified lines35435535635735835936075 unmodified lineshash_hex = hash_obj.hexdigest()return hash_hexdef hash_array1(arr):arr_str = np.array2string(arr)return hashlib.md5(arr_str.encode()).hexdigest()if os.path.isfile("rmvpe.pt"):f0method_mode.insert(2, "rmvpe")269 unmodified linesprotect,f0_file=f0_file)hash_val = hash_array1(audio_opt)# Get the current thread's name or IDthread_name = threading.current_thread().name
myinfer_latest.py+4-1