Spaces:
Sleeping
Sleeping
Download src/utils/logger.py from ABAO77/custom-gpt: direct link, hf CLI and curl.
- Browser
- Download file 150 Bytes
-
https://huggingface.co/spaces/ABAO77/custom-gpt/resolve/main/src/utils/logger.py
- Command line
-
hf download hf://spaces/ABAO77/custom-gpt/src/utils/logger.py
-
curl -L -o logger.py https://huggingface.co/spaces/ABAO77/custom-gpt/resolve/main/src/utils/logger.py
150 Bytes
| from datetime import datetime | |
| import pytz | |
| from loguru import logger | |
| def get_date_time(): | |
| return datetime.now(pytz.timezone("Asia/Ho_Chi_Minh")) | |