feat: 初始化基于Faster Whisper的语音识别MCP服务器
添加了服务器核心代码、启动脚本、依赖配置及文档,支持批处理加速、CUDA优化及多格式输出,便于集成到Claude Desktop中。
This commit is contained in:
16
start_server.bat
Normal file
16
start_server.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
echo 启动Whisper语音识别MCP服务器...
|
||||
|
||||
:: 激活虚拟环境(如果存在)
|
||||
if exist "..\venv\Scripts\activate.bat" (
|
||||
call ..\venv\Scripts\activate.bat
|
||||
)
|
||||
|
||||
:: 运行MCP服务器
|
||||
python whisper_server.py
|
||||
|
||||
:: 如果出错,暂停以查看错误信息
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo 服务器启动失败,错误代码: %ERRORLEVEL%
|
||||
pause
|
||||
)
|
||||
Reference in New Issue
Block a user