config.json 配置"transcription_backend": "whisper_cpp", 出错,会走 local,会走 python openai-whisper ,默认只走 cpu
其实是
mcp_server.py 中的 Whisper-cpp 调用出错,原代码
_WHISPER_CPP_BINARY_SEARCH_PATHS = [
"/opt/homebrew/bin/whisper-cpp",
"/usr/local/bin/whisper-cpp",
os.path.expanduser("~/.local/bin/whisper-cpp"),
]
改成
_WHISPER_CPP_BINARY_SEARCH_PATHS = [
"/opt/homebrew/bin/whisper-cli",
"/usr/local/bin/whisper-cli",
os.path.expanduser("~/.local/bin/whisper-cli"),
]
就 OK 了
config.json 配置"transcription_backend": "whisper_cpp", 出错,会走 local,会走 python openai-whisper ,默认只走 cpu
其实是
mcp_server.py 中的 Whisper-cpp 调用出错,原代码
_WHISPER_CPP_BINARY_SEARCH_PATHS = [
"/opt/homebrew/bin/whisper-cpp",
"/usr/local/bin/whisper-cpp",
os.path.expanduser("~/.local/bin/whisper-cpp"),
]
改成
_WHISPER_CPP_BINARY_SEARCH_PATHS = [
"/opt/homebrew/bin/whisper-cli",
"/usr/local/bin/whisper-cli",
os.path.expanduser("~/.local/bin/whisper-cli"),
]
就 OK 了