mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-30 09:28:51 +00:00
Update lollms_comfyui.py
This commit is contained in:
parent
4ff4cc0ea8
commit
4d81da89e6
@ -395,7 +395,7 @@ class LollmsComfyUI(LollmsTTI):
|
||||
|
||||
# Save each image to the folder
|
||||
for i, img_data in images.items():
|
||||
img_path = folder / f'image_{i+1}.png'
|
||||
img_path = folder / f'image_{int(i)+1}.png'
|
||||
with open(img_path, 'wb') as img_file:
|
||||
img_file.write(base64.b64decode(img_data))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user