Download src/utils.py from Nate-M/StyleX: direct link, hf CLI and curl.
- Browser
- Download file 148 Bytes
-
https://huggingface.co/spaces/Nate-M/StyleX/resolve/main/src/utils.py
- Command line
-
hf download hf://spaces/Nate-M/StyleX/src/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/Nate-M/StyleX/resolve/main/src/utils.py
148 Bytes
| # Utility functions for StyleX, including timestamp generation | |
| import time | |
| def timestamp() -> str: | |
| return time.strftime("%Y%m%d_%H%M%S") | |