""" Created By: ishwor subedi Date: 2024-10-04 """ from app import clothing_try_on_base64 from fastapi import FastAPI app = FastAPI(title="CTO TCP V1") @app.post("/clothingTryOn") async def clothing_try_on(image: str, mask: str): result = clothing_try_on_base64(image, mask) return {"result": result}