This commit is contained in:
2025-08-25 14:03:04 +08:00
parent 5e531d565b
commit 456be765ab
5 changed files with 5 additions and 10 deletions

View File

@@ -141,7 +141,7 @@ class Txt2Img(MjCommon):
# 生成文件名使用时间戳和任务ID
file_name = f"mj_{int(time.time() * 1000)}_{task_id}.png"
# 完整保存路径
save_path = os.path.join(MjCommon.base_path, file_name)
save_path = os.path.join("d:/", file_name)
# 下载图片
MjCommon.download_file(image_url, save_path)
except Exception as e: