Spaces:
Runtime error
Runtime error
Download utils.py from BSC-LT/VECTOR_STORE_EADOP: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/spaces/BSC-LT/VECTOR_STORE_EADOP/resolve/main/utils.py
- Command line
-
hf download hf://spaces/BSC-LT/VECTOR_STORE_EADOP/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/BSC-LT/VECTOR_STORE_EADOP/resolve/main/utils.py
286 Bytes
| import logging | |
| import warnings | |
| from dotenv import load_dotenv | |
| USER_INPUT = 100 | |
| def setup(): | |
| load_dotenv() | |
| warnings.filterwarnings("ignore") | |
| logging.addLevelName(USER_INPUT, "USER_INPUT") | |
| logging.basicConfig(format="[%(levelname)s]: %(message)s", level=logging.INFO) | |