Changed misleading face detector warning message on startup in the log
This commit is contained in:
@@ -55,11 +55,10 @@ class ProfilePictureManager:
|
|||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
async with session.get("http://anime-face-detector:6078/health", timeout=aiohttp.ClientTimeout(total=5)) as response:
|
async with session.get("http://anime-face-detector:6078/health", timeout=aiohttp.ClientTimeout(total=5)) as response:
|
||||||
if response.status == 200:
|
if response.status == 200:
|
||||||
print("✅ Anime face detector API connected")
|
print("✅ Anime face detector API connected (pre-loaded)")
|
||||||
return True
|
return True
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"⚠️ Face detector API not available: {e}")
|
print(f"ℹ️ Face detector not pre-loaded (container not running)")
|
||||||
print(" Profile picture changes will use fallback cropping")
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
async def _ensure_vram_available(self, debug: bool = False):
|
async def _ensure_vram_available(self, debug: bool = False):
|
||||||
|
|||||||
Reference in New Issue
Block a user