From 658646eed2d2bbd4369cac6edb94c484f22f43cf Mon Sep 17 00:00:00 2001 From: ZeroCool940711 Date: Sat, 29 Oct 2022 22:23:31 -0700 Subject: [PATCH 1/2] Removed message shown on the gallery tab when empty which was still shown even when it was not empty. --- scripts/txt2img.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/txt2img.py b/scripts/txt2img.py index ac803bb..1dc0f37 100644 --- a/scripts/txt2img.py +++ b/scripts/txt2img.py @@ -691,6 +691,7 @@ def layout(): with gallery_tab: logger.info(seeds) sdGallery(output_images) + st.session_state["gallery"] = st.empty() #except (StopException, KeyError): From 3e1ef82378e574dc6c9822c0f1927c4de242b949 Mon Sep 17 00:00:00 2001 From: ZeroCool940711 Date: Sat, 29 Oct 2022 22:24:36 -0700 Subject: [PATCH 2/2] Removed unnecessary log message which was causing confusing, this feature is something that works depending on the model loaded. --- scripts/sd_utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/sd_utils.py b/scripts/sd_utils.py index 7442cdd..08ee9fa 100644 --- a/scripts/sd_utils.py +++ b/scripts/sd_utils.py @@ -462,7 +462,6 @@ def load_models(use_LDSR = False, LDSR_model='model', use_GFPGAN=False, GFPGAN_m try: server_state["model"].args.use_multiprocessing_for_evaluation = False except AttributeError as e: - logger.error(e) pass if st.session_state.defaults.general.enable_attention_slicing: