Spaces:
Running
Running
Download src/__init__.py from Carbaz/career_conversation: direct link, hf CLI and curl.
- Browser
- Download file 525 Bytes
-
https://huggingface.co/spaces/Carbaz/career_conversation/resolve/main/src/__init__.py
- Command line
-
hf download hf://spaces/Carbaz/career_conversation/src/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Carbaz/career_conversation/resolve/main/src/__init__.py
525 Bytes
| """Initialization module for the AI Career Digital Twin application.""" | |
| from logging import basicConfig, getLogger | |
| from dotenv import load_dotenv | |
| # Environment initialization. | |
| load_dotenv(override=True) | |
| # Setup the global logger. | |
| LOG_STYLE = '{' | |
| LOG_LEVEL = 'INFO' | |
| LOG_FORMAT = ('{asctime} {levelname:<8} {processName}({process}) ' | |
| '{threadName} {name} {lineno} "{message}"') | |
| basicConfig(level=LOG_LEVEL, style='{', format=LOG_FORMAT) | |
| getLogger(__name__).info('INITIALIZED AI CAREER DIGITAL TWIN LOGGER') | |