Skip to content

Commit

Permalink
chore: 日志
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Jun 13, 2024
1 parent 8f7cc6a commit bc7ca98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def generate_handwriting():
# 保存每张图像到临时目录
image_path = os.path.join(temp_dir, f"{i}.png")
im.save(image_path)
logger.info(f"Image {i} saved successfully")
del im # 释放内存

if data["preview"] == "true":
Expand Down

0 comments on commit bc7ca98

Please sign in to comment.