1. 新增concurrently依赖用于并行启动服务 2. 新增服务器启动脚本统一管理环境变量和虚拟环境 3. 新增PaddlePaddle推理引擎和配套工具代码 4. 新增抽烟检测Paddle模型支持,完善模型管理 5. 重构开发启动脚本,优化开发体验 6. 更新.gitignore排除不必要的外部目录和缓存 7. 完善文档说明,新增PaddlePaddle部署指南
18 lines
417 B
JSON
18 lines
417 B
JSON
{
|
|
"name": "server",
|
|
"version": "1.0.0",
|
|
"description": "视频模型检测平台后端服务",
|
|
"scripts": {
|
|
"dev": "./start_server_with_env.sh",
|
|
"start": "uvicorn main:app --host 0.0.0.0 --port 8000",
|
|
"lint": "ruff check .",
|
|
"test": "pytest tests/",
|
|
"clean": "rm -rf __pycache__ .pytest_cache"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {},
|
|
"engines": {
|
|
"python": ">=3.9"
|
|
}
|
|
}
|