chore(stages): 🔧 Fix image loading reliability in pipeline by improving validation, error handling, and memory management
This commit is contained in:
parent
28358dd762
commit
7c207b63b7
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue