Spaces:
Sleeping
Sleeping
Download const_config.py from AI-Med-Lab/SUD-PROMISE: direct link, hf CLI and curl.
- Browser
- Download file 606 Bytes
-
https://huggingface.co/spaces/AI-Med-Lab/SUD-PROMISE/resolve/main/const_config.py
- Command line
-
hf download hf://spaces/AI-Med-Lab/SUD-PROMISE/const_config.py
-
curl -L -o const_config.py https://huggingface.co/spaces/AI-Med-Lab/SUD-PROMISE/resolve/main/const_config.py
606 Bytes
| """ | |
| Configuration Constants - ML Settings, Paths, App Metadata, Messages | |
| All configuration and system-level constants | |
| """ | |
| # ======================================== | |
| # APPLICATION METADATA | |
| # ======================================== | |
| APP_NAME = "SUD-PROMISE Drug Repositioning Assessment Platform" | |
| APP_VERSION = "3.3.0" | |
| INSTITUTION = "University of Alabama at Birmingham" | |
| # ======================================== | |
| # FILE PATHS | |
| # ======================================== | |
| DATA_DIR = "data1" | |
| MODEL_DIR = "saved_models" | |
| DRUGS_FILE = f"{DATA_DIR}/drugsInfo.csv" | |
| DISEASES_FILE = f"{DATA_DIR}/diseasesInfo.csv" |