GlaDOS
GlaDOS copied to clipboard
whisper error
I have downloaded whisper and kept it in the folder but it still gives me this error
File "/home/nabeel/GlaD0OS/glados.py", line 21, in <module>
from glados import asr, tts, vad
File "/home/nabeel/GlaDOS/glados/asr.py", line 5, in <module>
from . import whisper_cpp_wrapper
File "/home/nabeel/GlaDOS/glados/whisper_cpp_wrapper.py", line 861, in <module
>
_libs["whisper"] = load_library("whisper")
AAAAAAANAANANANANANAANANANAANAAAAN
File "/home/nabeel/GlaD0S/glados/whisper_cpp_wrapper.py", line 547, in __call_
" raise ImportError("Could not load %s." % libname)
ImportError: Could not load whisper.
- - ~ Y e e ~1 A 23 P |```
i resolved this by following the instructions and building whisper.cpp in the subdirectory of glados... /subdirectory/whisper.cpp > make...
Yep. Make generates Libwhisper.so which must be in the GLaDOS/submodules/whisper.cpp directory, or you get this error.