mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-15 15:22:55 +03:00
Made sure the log variable is still around on the img2txt after its being cleared. (#1574)
This commit is contained in:
commit
a6dd97662c
@ -317,7 +317,7 @@ def interrogate(image, models):
|
|||||||
st.session_state["log"].append("Finished Interrogating.")
|
st.session_state["log"].append("Finished Interrogating.")
|
||||||
st.session_state["log_message"].code('\n'.join(st.session_state["log"]), language='')
|
st.session_state["log_message"].code('\n'.join(st.session_state["log"]), language='')
|
||||||
|
|
||||||
del st.session_state["log"]
|
st.session_state["log"] = []
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user