2026-05-18-17-55-29 增加运行确认和演示录制

This commit is contained in:
2026-05-18 17:56:22 +08:00
parent debd0bfd50
commit dd2a49ad91
7 changed files with 292 additions and 0 deletions

View File

@@ -23,12 +23,32 @@ bash scripts/run_dev.sh
http://127.0.0.1:8000
```
如 8000 端口已被占用,可使用:
```bash
PORT=8001 bash scripts/run_dev.sh
```
## 测试
```bash
pytest -q
```
## 录制演示视频
服务运行后执行:
```bash
python3 scripts/record_demo.py
```
输出文件:
```text
storage/demos/isiseg_usage_demo.mp4
```
## 目录
- `backend/`FastAPI 服务与分割算法。