lanbinshijie / bili2text

Bilibili视频转文字,一步到位,输入链接即可使用
MIT License
595 stars 58 forks source link

Whisper模型加载卡死 #5

Open MarkXHu1943 opened 7 months ago

MarkXHu1943 commented 7 months ago

[LOG][INFO] Whisper未加载! [LOG][INFO] Exception in Tkinter callback [LOG][INFO] Traceback (most recent call last):

[LOG][INFO] [LOG][INFO] File "C:\Python312\Lib\tkinter__init.py", line 1967, in call__ return self.func(*args) ^^^^^^^^^^^^^^^^

[LOG][INFO] [LOG][INFO] File "D:\Portable\git\bili2text\window.py", line 130, in load_whisper import speech2text

[LOG][INFO] [LOG][INFO] File "D:\Portable\git\bili2text\speech2text.py", line 1, in import whisper

[LOG][INFO] [LOG][INFO] File "C:\Python312\Lib\site-packages\whisper.py", line 69, in libc = ctypes.CDLL(libc_name) ^^^^^^^^^^^^^^^^^^^^^^

[LOG][INFO] [LOG][INFO] File "C:\Python312\Lib\ctypes__init.py", line 369, in init__ if '/' in name or '\' in name: ^^^^^^^^^^^

[LOG][INFO] [LOG][INFO] TypeError: argument of type 'NoneType' is not iterable

SeeYouCowboi commented 6 months ago

安装了错的whisper,要用pip install -U openai-whisper安装

fodder049 commented 4 months ago

安装了错的whisper,要用pip install -U openai-whisper安装

安装好后点击加载whisper就会GUI卡死OTZ,使用main打开的话又无法解析URL,好怪,大佬有办法吗

lyandyhk commented 2 months ago

安装了错的whisper,要用pip install -U openai-whisper安装

安装好后点击加载whisper就会GUI卡死OTZ,使用main打开的话又无法解析URL,好怪,大佬有办法吗

我也一样

lanbinleo commented 1 week ago

安装了错的whisper,要用pip install -U openai-whisper安装

安装好后点击加载whisper就会GUI卡死OTZ,使用main打开的话又无法解析URL,好怪,大佬有办法吗

我也一样

加载Whisper卡死是正常的,因为要下载Whisper模型,这个过程第一次会持续几分钟(看网络情况)。后续会优化~