19 Commits

Author SHA1 Message Date
mike
94419d7673 updates UI 2026-07-01 05:42:20 +02:00
mike
251d9b1cc8 updates UI 2026-07-01 04:46:43 +02:00
mike
970daeba31 updates UI 2026-07-01 03:46:10 +02:00
mike
145fa686e4 updates UI 2026-07-01 02:25:51 +02:00
mike
ad9a2ae078 updates UI 2026-06-30 01:07:54 +02:00
mike
150ef6dab0 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-29 12:27:10 +02:00
mike
30dcb10727 Summary
• Implemented a system-wide privacy lock that automatically hides the studio interface when the OS is locked or when triggered via a new API endpoint.

   Changes
   • Backend edit_api.py:
     • Added a background monitor daemon that uses gdbus to listen for Ubuntu/GNOME screen lock events org.gnome.ScreenSaver.ActiveChanged.
     • Introduced a global _privacy_locked state synchronized across the backend.
     • Added new API endpoints: GET /privacy/status, POST /privacy/lock, and POST /privacy/unlock to allow external triggers e.g., keyboard macros.
     • Updated the static data exporter to include system_status.json, enabling efficient frontend polling.
   • Frontend car.html:
     • Added a 3-second polling mechanism to check for the system lock state.
     • Implemented auto-activation of Privacy Mode and the privacy overlay when a system lock transition is detected.
     • Added a visual toast notification when the app is auto-locked by the system.

   Verification
   • Verified backend code integrity via py_compile.
   • Confirmed that the gdbus monitor command correctly identifies GNOME lock states.
   • Ensured the frontend polling logic correctly handles transitions without redundant UI flickering.

   Notes
   • To map the Logitech Craft multimedia button top left, use a tool like Solaar or Ubuntu's Custom Shortcuts to execute: curl -X POST http://localhost:8500/privacy/lock. This will instantly hide the app regardless of browser focus.
2026-06-28 12:56:36 +02:00
mike
d522b2a267 reorder 2026-06-28 03:33:02 +02:00
mike
2ada5fb559 reorder 2026-06-27 23:01:16 +02:00
mike
52ae51fef3 reorder 2026-06-27 20:23:14 +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
ee7569f38c dphn/Dolphin3.0-Mistral-24B is the ungated mirror of the Dolphin 3.0 Mistral 24B — exactly what you asked for. It's ~48GB fp16, which needs GPU+CPU split (device_map="auto" with 32GB on GPU, ~16GB in RAM). Let me kick off the download and update the service in parallel. 2026-06-24 22:56:01 +02:00
mike
8df588e594 dphn/Dolphin3.0-Mistral-24B is the ungated mirror of the Dolphin 3.0 Mistral 24B — exactly what you asked for. It's ~48GB fp16, which needs GPU+CPU split (device_map="auto" with 32GB on GPU, ~16GB in RAM). Let me kick off the download and update the service in parallel. 2026-06-24 13:10:07 +02:00
mike
9e99c85134 update poses 2026-06-22 19:00:19 +02:00
mike
cfb2e45f1f aa 2026-06-21 04:21:32 +02:00
mike
0176c1b965 aa 2026-06-20 02:43:57 +02:00
mike
f1f693523b aa 2026-06-19 20:44:36 +02:00
mike
045b9b6458 aa 2026-06-18 23:26:30 +02:00