diff --git a/app/routers/home.py b/app/routers/home.py index 5b19d37..a7a1704 100644 --- a/app/routers/home.py +++ b/app/routers/home.py @@ -65,6 +65,12 @@ async def home(request: Request): stats["storage"] = len(storage_providers) if storage_providers else 0 except Exception: pass + try: + from ..dependencies import get_cache_manager + effects = get_cache_manager().list_by_type('effect') + stats["effects"] = len(effects) + except Exception: + pass templates = get_templates(request) return render(templates, "home.html", request, diff --git a/app/templates/home.html b/app/templates/home.html index 8189268..c6a23aa 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -7,7 +7,7 @@
Content-Addressable Media Processing
-