Download utility/constant.py from SincoMao/ChatSQL: direct link, hf CLI and curl.
- Browser
- Download file 227 Bytes
-
https://huggingface.co/spaces/SincoMao/ChatSQL/resolve/main/utility/constant.py
- Command line
-
hf download hf://spaces/SincoMao/ChatSQL/utility/constant.py
-
curl -L -o constant.py https://huggingface.co/spaces/SincoMao/ChatSQL/resolve/main/utility/constant.py
227 Bytes
| """ | |
| @File: 存放固定的路径 | |
| """ | |
| import os | |
| import pandas as pd | |
| # 根目录 | |
| BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
| configurable_file_path = os.path.join(BASE_DIR, 'configurable_file') | |