GlaDOS icon indicating copy to clipboard operation
GlaDOS copied to clipboard

whisper error

Open nabeelshaikh7 opened this issue 1 year ago • 2 comments

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 |```

nabeelshaikh7 avatar May 10 '24 13:05 nabeelshaikh7

i resolved this by following the instructions and building whisper.cpp in the subdirectory of glados... /subdirectory/whisper.cpp > make...

Kosubotto avatar May 10 '24 20:05 Kosubotto

Yep. Make generates Libwhisper.so which must be in the GLaDOS/submodules/whisper.cpp directory, or you get this error.

dnhkng avatar May 10 '24 20:05 dnhkng