From 1e6a4fb6c5f54b5d18da2d7e8904714fcfbd0d59 Mon Sep 17 00:00:00 2001 From: SkyLi Date: Sun, 29 Mar 2026 01:02:38 +0800 Subject: [PATCH] clean: remove unused URL constants from config The WEIGHTS_URL and WHL_URL variables are no longer needed since whl package and weights are now placed manually. --- src/config.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/config.py b/src/config.py index 82cf909..d258fd8 100644 --- a/src/config.py +++ b/src/config.py @@ -1,16 +1,10 @@ import os from pathlib import Path -# 权重文件地址 -WEIGHTS_URL = "http://193.112.94.100:9000/SkyLiCoder/Infrared-ai-research-lab/releases/download/v0.1.0/best.pt" - # 权重本地路径 WEIGHTS_DIR = Path(__file__).parent.parent / "weights" WEIGHTS_PATH = WEIGHTS_DIR / "best.pt" -# whl 文件地址 -WHL_URL = "http://193.112.94.100:9000/SkyLiCoder/Infrared-ai-research-lab/releases/download/v0.1.0/infrared_data-0.1.0-py3-none-any.whl" - # whl 本地路径 WHL_DIR = Path(__file__).parent.parent / "lib" WHL_PATH = WHL_DIR / "infrared_data-0.1.0-py3-none-any.whl"