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.
This commit is contained in:
SkyLi
2026-03-29 01:02:38 +08:00
parent 356a308f9b
commit 1e6a4fb6c5
-6
View File
@@ -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"