From 8b638b338de6e85779782453462b6afc7021bbd4 Mon Sep 17 00:00:00 2001 From: ZeroCool940711 Date: Sat, 29 Oct 2022 23:45:27 -0700 Subject: [PATCH] Removed the gallery message as its not needed. --- scripts/txt2img.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/txt2img.py b/scripts/txt2img.py index 1dc0f37..31c7356 100644 --- a/scripts/txt2img.py +++ b/scripts/txt2img.py @@ -475,7 +475,7 @@ def layout(): with gallery_tab: st.session_state["gallery"] = st.empty() - st.session_state["gallery"].info("Nothing but crickets here, try generating something first.") + #st.session_state["gallery"].info("Nothing but crickets here, try generating something first.") with col3: # If we have custom models available on the "models/custom" @@ -690,8 +690,8 @@ def layout(): with gallery_tab: logger.info(seeds) + st.session_state["gallery"].text = "" sdGallery(output_images) - st.session_state["gallery"] = st.empty() #except (StopException, KeyError):