Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thesoulpole opened this issue Apr 7, 2023 · 0 comments

Comments

@thesoulpole
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant