Spaces:
Sleeping
Sleeping
Download adsp/utils/logging.py from thanhnv2323/humanize-text-python: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/spaces/thanhnv2323/humanize-text-python/resolve/main/adsp/utils/logging.py
- Command line
-
hf download hf://spaces/thanhnv2323/humanize-text-python/adsp/utils/logging.py
-
curl -L -o logging.py https://huggingface.co/spaces/thanhnv2323/humanize-text-python/resolve/main/adsp/utils/logging.py
235 Bytes
| """Shared logging configuration.""" | |
| from __future__ import annotations | |
| import logging | |
| def configure_logging(level: int = logging.INFO) -> None: | |
| logging.basicConfig(level=level, format="[%(asctime)s] %(levelname)s %(message)s") | |