File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- DATABASE_URL = postgresql+psycopg2://postgres:postgres@localhost:5432/autolabeling
1+ # Uncomment the line below to use PostgreSQL.
2+ # If commented out, the system will automatically use a zero-config SQLite database.
3+ # DATABASE_URL=postgresql+psycopg2://postgres:postgres@localhost:5432/autolabeling
24DEVICE = mps
35MODEL_DIR =
46CORS_ORIGINS = ["http://localhost:5173"]
Original file line number Diff line number Diff line change 11[project ]
22name = " locate-anything-backend"
3- version = " 1.5.5 "
3+ version = " 1.5.11 "
44description = " Backend API for VLM-AutoYOLO - VLM-powered auto-labeling and YOLO training platform"
55requires-python = " >=3.12"
66dependencies = [
Original file line number Diff line number Diff line change @@ -343,6 +343,9 @@ def cmd_start():
343343 print (f" 后端: { cyan (f'http://localhost:{ BACKEND_PORT } ' )} " )
344344 print (f" API: { cyan (f'http://localhost:{ BACKEND_PORT } /docs' )} " )
345345 print (f" { red ('Ctrl+C' )} 停止" )
346+ print (f"{ '━' * 46 } " )
347+ print (f" 💡 { yellow ('提示: VLM 和 SAM 模型采用【惰性加载】策略。' )} " )
348+ print (f" { yellow ('在网页端首次执行检测前,它们会显示为“未加载”状态。' )} " )
346349 print (f"{ '━' * 46 } \n " )
347350
348351 webbrowser .open (f"http://localhost:{ FRONTEND_PORT } " )
Original file line number Diff line number Diff line change 11{
22 "name" : " frontend" ,
33 "private" : true ,
4- "version" : " 1.5.5 " ,
4+ "version" : " 1.5.11 " ,
55 "type" : " module" ,
66 "scripts" : {
77 "dev" : " vite" ,
Original file line number Diff line number Diff line change @@ -10,5 +10,8 @@ echo Backend: http://localhost:8000
1010echo Frontend: http://localhost:5173
1111echo API Docs: http://localhost:8000/docs
1212echo .
13+ echo [NOTE] VLM and SAM models are lazy-loaded.
14+ echo They will appear as 'Unloaded' in the web UI until your first detection.
15+ echo .
1316echo Press Ctrl+C in each window to stop.
1417pause
Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ echo " 后端: http://localhost:$BACKEND_PORT"
5353echo " API文档: http://localhost:$BACKEND_PORT /docs"
5454echo " Ctrl+C 停止"
5555echo " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
56+ echo " 💡 提示: VLM 和 SAM 模型采用【惰性加载】策略。"
57+ echo " 在网页端首次执行检测前,它们会显示为“未加载”状态。"
58+ echo " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
5659echo " "
5760
5861wait
You can’t perform that action at this time.
0 commit comments