From df5e01ea06c1910b56702e71cbd70f5ab252b7b3 Mon Sep 17 00:00:00 2001 From: zhouchengrong Date: Mon, 7 Oct 2024 10:27:25 +0800 Subject: [PATCH] =?UTF-8?q?feat=20fix=20=20=20=20=20=20img2sketch=20?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/api_image2sketch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/api/api_image2sketch.py b/app/api/api_image2sketch.py index f630194..8a9b4d9 100644 --- a/app/api/api_image2sketch.py +++ b/app/api/api_image2sketch.py @@ -1,3 +1,4 @@ +import json import logging from fastapi import APIRouter, HTTPException @@ -28,6 +29,7 @@ def image2sketch(request_item: Image2SketchModel): } """ try: + logger.info(f"image2sketch request item is : @@@@@@:{json.dumps(request_item.dict())}") service = LineArtService(request_item) result_url = service.get_result() except Exception as e: