删除 start_web_app.bat
This commit is contained in:
parent
ab7e1f2d30
commit
2df4fa2c49
@ -1,26 +0,0 @@
|
|||||||
@echo off
|
|
||||||
echo ===================================
|
|
||||||
echo 道路损伤视频检测系统 - Web界面
|
|
||||||
echo ===================================
|
|
||||||
echo.
|
|
||||||
|
|
||||||
REM 检查Python环境
|
|
||||||
python --version >nul 2>&1
|
|
||||||
if %ERRORLEVEL% NEQ 0 (
|
|
||||||
echo [错误] 未检测到Python环境,请安装Python 3.8或更高版本。
|
|
||||||
goto :end
|
|
||||||
)
|
|
||||||
|
|
||||||
REM 检查依赖包
|
|
||||||
echo [信息] 检查依赖包...
|
|
||||||
pip install -r requirements.txt
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo [信息] 启动Web应用...
|
|
||||||
echo [信息] 请在浏览器中访问: http://localhost:5000
|
|
||||||
echo.
|
|
||||||
|
|
||||||
python app.py
|
|
||||||
|
|
||||||
:end
|
|
||||||
pause
|
|
||||||
Loading…
Reference in New Issue
Block a user