Download common/memory.py from hhz520/webchat: direct link, hf CLI and curl.
- Browser
- Download file 83 Bytes
-
https://huggingface.co/spaces/hhz520/webchat/resolve/main/common/memory.py
- Command line
-
hf download hf://spaces/hhz520/webchat/common/memory.py
-
curl -L -o memory.py https://huggingface.co/spaces/hhz520/webchat/resolve/main/common/memory.py
83 Bytes
| from common.expired_dict import ExpiredDict | |
| USER_IMAGE_CACHE = ExpiredDict(60 * 3) |