Revert "Refresh bug fix"

This reverts commit eff00413ae.
This commit is contained in:
Sakura-Luna 2023-05-04 14:08:20 +08:00
parent eff00413ae
commit 29e13867bf
2 changed files with 2 additions and 4 deletions

View File

@ -181,7 +181,6 @@ def img2img(id_task: str, mode: int, prompt: str, negative_prompt: str, prompt_s
print(generation_info_js)
for img in processed.images:
if hasattr(img, 'already_saved_as'):
img.already_saved_as += f'?{int(time())}'
if opts.do_not_show_images:

View File

@ -65,7 +65,6 @@ def txt2img(id_task: str, prompt: str, negative_prompt: str, prompt_styles, step
print(generation_info_js)
for img in processed.images:
if hasattr(img, 'already_saved_as'):
img.already_saved_as += f'?{int(time())}'
if opts.do_not_show_images: