Skip to content

whisper_cpp问题 #129

@gloryfu

Description

@gloryfu

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 了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions