fix      img2sketch 日志优化
This commit is contained in:
zhouchengrong
2024-10-07 10:27:25 +08:00
parent 102dd53d68
commit df5e01ea06

View File

@@ -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: