From ce00f9bd9529876bbc6a75808de9ff13e466dfe6 Mon Sep 17 00:00:00 2001 From: koko210Serve Date: Fri, 9 Jan 2026 00:13:03 +0200 Subject: [PATCH] Changed misleading face detector warning message on startup in the log --- bot/utils/profile_picture_manager.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bot/utils/profile_picture_manager.py b/bot/utils/profile_picture_manager.py index ea567ad..891ad1a 100644 --- a/bot/utils/profile_picture_manager.py +++ b/bot/utils/profile_picture_manager.py @@ -55,11 +55,10 @@ class ProfilePictureManager: async with aiohttp.ClientSession() as session: async with session.get("http://anime-face-detector:6078/health", timeout=aiohttp.ClientTimeout(total=5)) as response: if response.status == 200: - print("✅ Anime face detector API connected") + print("✅ Anime face detector API connected (pre-loaded)") return True except Exception as e: - print(f"⚠️ Face detector API not available: {e}") - print(" Profile picture changes will use fallback cropping") + print(f"ℹ️ Face detector not pre-loaded (container not running)") return False async def _ensure_vram_available(self, debug: bool = False):