Spaces:
Sleeping
Sleeping
File size: 364 Bytes
dbf1d4a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from pydantic import BaseModel
from typing import List
class ImageInpaintingRequest(BaseModel):
images: List[str]
alpha_gradient_width: int
init_image_height: int
class Config:
arbitrary_types_allowed = True
class ImageInpaintingResponse(BaseModel):
inpainted_image: str
class Config:
arbitrary_types_allowed = True |