diff --git a/scripts/img2txt.py b/scripts/img2txt.py index 92f0067..6fd51f4 100644 --- a/scripts/img2txt.py +++ b/scripts/img2txt.py @@ -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"] = [] #