Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files75 unmodified lines767778798081828384269 unmodified lines35435535635435735835936075 unmodified lines hash_hex = hash_obj.hexdigest() return hash_hex
def 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 lines protect, f0_file=f0_file ) hash_val = hash_array(audio_opt) hash_val = hash_array1(audio_opt) # Get the current thread's name or ID thread_name = threading.current_thread().namemyinfer_latest.py+4-1