Made sure the log variable is still around on the img2txt after its being cleared. (#1574)

This commit is contained in:
Alejandro Gil 2022-10-22 13:30:47 -07:00 committed by GitHub
commit a6dd97662c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,7 +317,7 @@ def interrogate(image, models):
st.session_state["log"].append("Finished Interrogating.")
st.session_state["log_message"].code('\n'.join(st.session_state["log"]), language='')
del st.session_state["log"]
st.session_state["log"] = []
#