Spaces:
Runtime error
Runtime error
![VikramSingh178's picture](https://cdn-avatars.huggingface.co/v1/production/uploads/6420a45ff837b31c1cfdc092/5oKn9EtYPfv5VFpfENFpD.png)
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 | |