olivas/backend/app/api/endpoints/health.py
DJP 3467dbcf03 Initial commit — OliVAS visual attention analysis platform
Full-stack application for predicting where humans look in images using
DeepGaze saliency models. Includes heatmap overlays, gaze sequence prediction,
hotspot detection, AOI analysis, rule-based insights, optional Claude AI
design analysis, and professional PDF report generation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 20:20:58 -05:00

14 lines
325 B
Python

from fastapi import APIRouter
router = APIRouter()
@router.get("/health")
async def health_check():
from app.services.saliency.model_manager import model_manager
loaded = list(model_manager.models.keys()) if model_manager.models else []
return {
"status": "ok",
"models_loaded": loaded,
}