You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread Thread-3 (process_audio_stream):
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\Development\llm\whisper\aivsai.py", line 179, in process_audio_stream
boundaries = vad_model.get_speech_segments(audio_buffer)
File "C:\Users\dsamf\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\speechbrain\pretrained\interfaces.py", line 1892, in get_speech_segments
audio_file = fetch(fl, source=source)
File "C:\Users\dsamf\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\speechbrain\pretrained\fetching.py", line 88, in fetch
destination = savedir / save_filename
TypeError: unsupported operand type(s) for /: 'WindowsPath' and 'int'
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Hugging Face models can't be downloaded using fetching.py
Expected behaviour
The destination variable is initialized correctly on windows.
To Reproduce
Versions
Name: speechbrain
Version: 0.5.13
Summary: All-in-one speech toolkit in pure Python and Pytorch
Home-page: https://speechbrain.github.io/
Author: Mirco Ravanelli & Others
Author-email: speechbrain@gmail.com
License:
Location: c:\users\dsamf\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages
Requires: huggingface-hub, hyperpyyaml, joblib, numpy, packaging, scipy, sentencepiece, torch, torchaudio, tqdm
Required-by:
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: