Download src/utils/constants.py from Partha11/ml-server: direct link, hf CLI and curl.
- Browser
- Download file 182 Bytes
-
https://huggingface.co/spaces/Partha11/ml-server/resolve/main/src/utils/constants.py
- Command line
-
hf download hf://spaces/Partha11/ml-server/src/utils/constants.py
-
curl -L -o constants.py https://huggingface.co/spaces/Partha11/ml-server/resolve/main/src/utils/constants.py
182 Bytes
| import os | |
| from definitions import ROOT_DIR | |
| class Constants: | |
| MODEL_NAME = 'bert-base-multilingual-uncased' | |
| MODEL_PATH = os.path.join(ROOT_DIR, 'static', 'models', MODEL_NAME) |