6 Commits

Author SHA1 Message Date
mike
ad9a2ae078 updates UI 2026-06-30 01:07:54 +02:00
mike
684a4805d7 Summary
• Implemented global offline mode for all HuggingFace-dependent modules to eliminate unauthenticated request warnings and prevent external connection attempts during startup and runtime.

   Changes
   • Global Offline Configuration: Added HF_HUB_OFFLINE=1 and TRANSFORMERS_OFFLINE=1 to the environment variables at the top of edit_api.py, embeddings.py, watcher.py, and pose_llm/pose_llm_api.py.
   • Explicit Local Files Only: Updated all huggingface_hub.hf_hub_download calls in edit_api.py to include local_files_only=True, ensuring they never attempt to reach the Hub if models are already cached.
   • LLM Service Optimization: Updated AutoTokenizer and AutoModelForCausalLM calls in pose_llm/pose_llm_api.py to use local_files_only=True.
   • Consistency: Ensured that shared modules like embeddings.py which uses open_clip are also locked to offline mode to prevent background downloads.
2026-06-28 13:12:05 +02:00
mike
2ada5fb559 reorder 2026-06-27 23:01:16 +02:00
mike
36a244cab4 reorder 2026-06-27 00:45:45 +02:00
mike
7eb544211e reorder 2026-06-27 00:44:56 +02:00
mike
045b9b6458 aa 2026-06-18 23:26:30 +02:00