mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
7446498503
Signed-off-by: Vladimir Mandic <mandic00@live.com>
20 lines
367 B
Python
20 lines
367 B
Python
from dataclasses import dataclass
|
|
|
|
import numpy as np
|
|
import PIL.Image
|
|
|
|
from diffusers.utils import BaseOutput
|
|
|
|
|
|
@dataclass
|
|
class SeFiPipelineOutput(BaseOutput):
|
|
"""
|
|
Output class for SeFi-Image pipelines.
|
|
|
|
Args:
|
|
images (`list[PIL.Image.Image]` or `np.ndarray`)
|
|
Generated images.
|
|
"""
|
|
|
|
images: list[PIL.Image.Image] | np.ndarray
|