diff --git a/app/routers/tryon_router.py b/app/routers/tryon_router.py index 0165691..3c9fcd5 100644 --- a/app/routers/tryon_router.py +++ b/app/routers/tryon_router.py @@ -24,7 +24,7 @@ router = APIRouter() DASHSCOPE_API_KEY = os.getenv("DASHSCOPE_API_KEY") DASHSCOPE_API_URL = "https://dashscope.aliyuncs.com/api/v1/services/aigc/image2image/image-synthesis" -@router.post("", response_model=TryOnResponse, status_code=201) +@router.post("", response_model=TryOnResponse) async def create_tryon( tryon_data: TryOnCreate, background_tasks: BackgroundTasks,