Spaces:
Runtime error
Runtime error
Download examples/memory_loader.py from hugging-apps/spotlight-vm: direct link, hf CLI and curl.
- Browser
- Download file 121 Bytes
-
https://huggingface.co/spaces/hugging-apps/spotlight-vm/resolve/main/examples/memory_loader.py
- Command line
-
hf download hf://spaces/hugging-apps/spotlight-vm/examples/memory_loader.py
-
curl -L -o memory_loader.py https://huggingface.co/spaces/hugging-apps/spotlight-vm/resolve/main/examples/memory_loader.py
121 Bytes
| from sortedcontainers import SortedList | |
| from math import log | |
| values = SortedList([9, 4, 16]) | |
| print(log(values.pop(), 2)) | |