Spaces:
Sleeping
Sleeping
Download memory.py from neerajkalyank/HRMS_Chatbot: direct link, hf CLI and curl.
- Browser
- Download file 93 Bytes
-
https://huggingface.co/spaces/neerajkalyank/HRMS_Chatbot/resolve/main/memory.py
- Command line
-
hf download hf://spaces/neerajkalyank/HRMS_Chatbot/memory.py
-
curl -L -o memory.py https://huggingface.co/spaces/neerajkalyank/HRMS_Chatbot/resolve/main/memory.py
93 Bytes
| def init_memory(): | |
| if "chat" not in st.session_state: | |
| st.session_state.chat = [] | |