chore(stages): 🔧 Fix image loading reliability in pipeline by improving validation, error handling, and memory management

This commit is contained in:
Lilith 2026-01-24 22:38:46 -08:00
parent 28358dd762
commit 7c207b63b7

View file

@ -4,6 +4,8 @@ Decodes base64-encoded images, converts to PIL format, and resizes to target dim
Executed before GenerateStage when init_image_base64 is provided in the request.
"""
from __future__ import annotations
import base64
import io
import logging