Closed dinhngoc267 closed 4 days ago
Streamlit re-runs the script every time anything on the page changes, so your code may be getting executed too often. We generally use a "loaded" st.session_state variable to do run-once things, and then only execute methods like run_local_search in response to events such as clicked = st.button(...)
.
Do you need to file an issue?
Describe the bug
When streamlit rerun it shows an error:
Steps to reproduce
No response
Expected Behavior
No response
GraphRAG Config Used
Logs and screenshots
No response
Additional Information
No response