엑셀 열릴때 렉걸리는 현상 수정
#2
by highnoon1 - opened
148 unmodified lines149150151152153152153154155156148 unmodified lines # 모든 BytesIO 객체 닫기 for img_obj in image_objects: img_obj.close() if os.path.exists(f"history_with_images_{start_time}.xlsx"): os.startfile(f"history_with_images_{start_time}.xlsx") if os.path.exists(f"history_with_images_{start_time}.xlsx"): os.startfile(f"history_with_images_{start_time}.xlsx")
print("엑셀 파일에 저장됨")
Danbooru Prompt Selector/TEST2024/prompt_selector_auto_1215_testv9.py+2-2