Spaces:
Sleeping
Sleeping
Commit History
-
Fix Sage/Lens silent failures and model loading on HF Space
Charan Suresh- health_check() no longer blocks on load_model(); returns current load state instantly so /api/health never times out - generate_text() moves tokenizer inputs to correct device (GPU/CPU) - generate_with_image() tries real Gemma 4 vision via AutoProcessor; falls back to text-only if unavailable - /api/generate and /api/generate_vision raise HTTP 503/500 instead of returning {error:...} with status 200 -- raise_for_status() now fires - Model preloaded in background thread at app startup (no cold-start) - HF Space POST timeout raised to 300s in ollama_client.py - 503 handled alongside 500 with detail extracted from response body6180f4c
-
Switch to HF Space as default backend, make Ollama optional
e1b76ea
-
Replace cloud inference with local Ollama
4c42b27
-
feat: add anti-gaming comprehension pipeline and harden HF space integration
b3edcc3
-
Fix HF Space inference runtime and error handling
fc09209 -
Fix HF Space backend contract and production health diagnostics
0dc30d2 -
Update app defaults and database to use US Curriculum Guide, fix HF requirements
1b03d62