Spaces:
Sleeping
Sleeping
Download cache.py from prasad799596/Trade_ai: direct link, hf CLI and curl.
- Browser
- Download file 118 Bytes
-
https://huggingface.co/spaces/prasad799596/Trade_ai/resolve/main/cache.py
- Command line
-
hf download hf://spaces/prasad799596/Trade_ai/cache.py
-
curl -L -o cache.py https://huggingface.co/spaces/prasad799596/Trade_ai/resolve/main/cache.py
118 Bytes
| cache = {} | |
| def get_cache(sector): | |
| return cache.get(sector) | |
| def set_cache(sector, data): | |
| cache[sector] = data |