优化代码风格

This commit is contained in:
ZZX9599
2025-09-08 17:34:23 +08:00
parent 9b3d20511a
commit 8ceb92c572
20 changed files with 223 additions and 192 deletions

View File

@ -47,7 +47,7 @@ if __name__ == "__main__":
YOLO_MODEL_PATH = r"/core/models\best.pt"
OCR_CONFIG_PATH = r"/core/config\config.yaml"
# 初始化项目默认端口设为8000避免初始化失败时port未定义
# 初始化项目默认端口设为8000避免初始化失败时port未定义
port = int(SERVER_CONFIG.get("port", 8000))
# 启动 UVicorn 服务