diff options
author | Sakura-Luna <53183413+Sakura-Luna@users.noreply.github.com> | 2023-05-04 06:08:22 +0000 |
---|---|---|
committer | Sakura-Luna <53183413+Sakura-Luna@users.noreply.github.com> | 2023-05-04 06:08:22 +0000 |
commit | 5c66fedb641841958020c0f8693fc69dee7a96a1 (patch) | |
tree | 852906658b061c3fad262129bef1fa0710485c0e | |
parent | 35e5916af9ccf1661c6b262b768d4b241ab9eee7 (diff) | |
download | stable-diffusion-webui-gfx803-5c66fedb641841958020c0f8693fc69dee7a96a1.tar.gz stable-diffusion-webui-gfx803-5c66fedb641841958020c0f8693fc69dee7a96a1.tar.bz2 stable-diffusion-webui-gfx803-5c66fedb641841958020c0f8693fc69dee7a96a1.zip |
Revert "Fix gallery not being refreshed correctly"
This reverts commit 2c24e09dfc431ef7617134a807bf741f0b0c9fa3.
-rw-r--r-- | modules/txt2img.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/txt2img.py b/modules/txt2img.py index 6ebca656..16841d0f 100644 --- a/modules/txt2img.py +++ b/modules/txt2img.py @@ -7,7 +7,6 @@ from modules.shared import opts, cmd_opts import modules.shared as shared
import modules.processing as processing
from modules.ui import plaintext_to_html
-from time import time
def txt2img(id_task: str, prompt: str, negative_prompt: str, prompt_styles, steps: int, sampler_index: int, restore_faces: bool, tiling: bool, n_iter: int, batch_size: int, cfg_scale: float, seed: int, subseed: int, subseed_strength: float, seed_resize_from_h: int, seed_resize_from_w: int, seed_enable_extras: bool, height: int, width: int, enable_hr: bool, denoising_strength: float, hr_scale: float, hr_upscaler: str, hr_second_pass_steps: int, hr_resize_x: int, hr_resize_y: int, override_settings_texts, *args):
@@ -64,9 +63,6 @@ def txt2img(id_task: str, prompt: str, negative_prompt: str, prompt_styles, step if opts.samples_log_stdout:
print(generation_info_js)
- for img in processed.images:
- img.already_saved_as += f'?{int(time())}'
-
if opts.do_not_show_images:
processed.images = []
|