NewApp / backend /api /models /response.py
tejani's picture
Upload 75 files
5b16c73 verified
raw
history blame contribute delete
320 Bytes
from typing import List
from pydantic import BaseModel
class StableDiffusionResponse(BaseModel):
"""
Stable diffusion response model
Attributes:
images (List[str]): List of JPEG image as base64 encoded
latency (float): Latency in seconds
"""
images: List[str]
latency: float