foges/whisper-dictation

this error popping up after I press the hotkeys to activate dictation.

thesoulpole opened this issue · 0 comments

afetr staring up the prgram (i.e. first line) it gets to "Running....", and after I press the hotkeys, the rest appears up to and including the "OSError..." line. (After a number of seconds the last two lines appear)
any help will be appreaciated!

python whisper-dictation.py
Loading model...
base model loaded
Running...
Listening...
||PaMacCore (AUHAL)|| AUHAL component not found.Exception in thread Thread-2 (_record_impl):
Traceback (most recent call last):
File "/Users/piotr/mambaforge/envs/WHpip/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/Users/piotr/mambaforge/envs/WHpip/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/Users/piotr/GradioML/whisper-dictation.py", line 47, in _record_impl
stream = p.open(format=pyaudio.paInt16,
File "/Users/piotr/mambaforge/envs/WHpip/lib/python3.10/site-packages/pyaudio/init.py", line 639, in open
stream = PyAudio.Stream(self, *args, **kwargs)
File "/Users/piotr/mambaforge/envs/WHpip/lib/python3.10/site-packages/pyaudio/init.py", line 441, in init
self._stream = pa.open(**arguments)
OSError: [Errno -9999] Unanticipated host error
Transcribing...
Done.