mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-14 05:58:18 +03:00
Removed message shown on the gallery tab when empty which was still shown even when it was not empty. (#1625)
This commit is contained in:
commit
599db4147c
@ -462,7 +462,6 @@ def load_models(use_LDSR = False, LDSR_model='model', use_GFPGAN=False, GFPGAN_m
|
|||||||
try:
|
try:
|
||||||
server_state["model"].args.use_multiprocessing_for_evaluation = False
|
server_state["model"].args.use_multiprocessing_for_evaluation = False
|
||||||
except AttributeError as e:
|
except AttributeError as e:
|
||||||
logger.error(e)
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if st.session_state.defaults.general.enable_attention_slicing:
|
if st.session_state.defaults.general.enable_attention_slicing:
|
||||||
|
@ -691,6 +691,7 @@ def layout():
|
|||||||
with gallery_tab:
|
with gallery_tab:
|
||||||
logger.info(seeds)
|
logger.info(seeds)
|
||||||
sdGallery(output_images)
|
sdGallery(output_images)
|
||||||
|
st.session_state["gallery"] = st.empty()
|
||||||
|
|
||||||
|
|
||||||
#except (StopException, KeyError):
|
#except (StopException, KeyError):
|
||||||
|
Loading…
Reference in New Issue
Block a user