Spaces:
Runtime error
Runtime error
Download llama/utils.py from X-Pipe/flash: direct link, hf CLI and curl.
- Browser
- Download file 149 Bytes
-
https://huggingface.co/spaces/X-Pipe/flash/resolve/main/llama/utils.py
- Command line
-
hf download hf://spaces/X-Pipe/flash/llama/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/X-Pipe/flash/resolve/main/llama/utils.py
149 Bytes
| import os | |
| def is_local_storage_files_ready(persist_dir: str) -> bool: | |
| return os.path.exists(persist_dir) and len(os.listdir(persist_dir)) != 0 | |