resemble-ai / Resemblyzer

A python package to analyze and compare voices with deep learning
Apache License 2.0
2.79k stars 429 forks source link

Speech Diarization #83

Closed rajpavan4679 closed 1 year ago

rajpavan4679 commented 1 year ago

File "/usr/local/lib/python3.11/site-packages/resemblyzer/audio.py", line 91, in trim_long_silences csm-myfastapi-1 | audio_mask = np.round(audio_mask).astype(np.bool) csm-myfastapi-1 | ^^^^^^^ csm-myfastapi-1 | File "/usr/local/lib/python3.11/site-packages/numpy/_init.py", line 305, in _getattr csm-myfastapi-1 | raise AttributeError(_formerattrs[attr]) csm-myfastapi-1 | AttributeError: module 'numpy' has no attribute 'bool'. csm-myfastapi-1 | np.bool was a deprecated alias for the builtin bool. To avoid this error in existing code, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.bool_ here. csm-myfastapi-1 |