guoyu/fronted_uniapp/build/启动服务器.bat
2025-12-03 18:58:36 +08:00

25 lines
492 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
chcp 65001 >nul
echo ========================================
echo VOSK 模型本地服务器启动脚本
echo ========================================
echo.
REM 检查 Python 是否安装
python --version >nul 2>&1
if errorlevel 1 (
echo [错误] 未检测到 Python请先安装 Python 3.x
echo 下载地址: https://www.python.org/downloads/
pause
exit /b 1
)
echo [信息] 正在启动服务器...
echo.
REM 启动 Python 服务器
python server.py
pause