diff --git a/backend/innercontext/api/skincare.py b/backend/innercontext/api/skincare.py index 19a3e7b..73a7160 100644 --- a/backend/innercontext/api/skincare.py +++ b/backend/innercontext/api/skincare.py @@ -140,7 +140,13 @@ async def analyze_skin_photos( if not (1 <= len(photos) <= 3): raise HTTPException(status_code=422, detail="Send between 1 and 3 photos.") - allowed = {"image/jpeg", "image/png", "image/webp"} + allowed = { + "image/heic", + "image/heif", + "image/jpeg", + "image/png", + "image/webp", + } parts: list[genai_types.Part] = [] for photo in photos: if photo.content_type not in allowed: diff --git a/frontend/src/routes/skin/+page.svelte b/frontend/src/routes/skin/+page.svelte index a293e64..7735e58 100644 --- a/frontend/src/routes/skin/+page.svelte +++ b/frontend/src/routes/skin/+page.svelte @@ -192,7 +192,7 @@