Spaces:
Build error
Build error
chore: Update import statement for InpaintingRequest in painting.py and refactor code to use shared BaseModel for Painting and InpaintingRequest classes
6c850b1
from pydantic import BaseModel | |
from fastapi import Form | |
class InpaintingRequest(BaseModel): | |
prompt: str | |
negative_prompt: str | |
num_inference_steps: int | |
strength: float | |
guidance_scale: float | |