mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-14 22:13:41 +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:
|
||||
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:
|
||||
|
@ -691,6 +691,7 @@ def layout():
|
||||
with gallery_tab:
|
||||
logger.info(seeds)
|
||||
sdGallery(output_images)
|
||||
st.session_state["gallery"] = st.empty()
|
||||
|
||||
|
||||
#except (StopException, KeyError):
|
||||
|
Loading…
Reference in New Issue
Block a user