File size: 636 Bytes
a189dd1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Used for setting some constants for the project codebase

from pathlib import Path

# Root Path
ROOT = Path(__file__).resolve().parents[0]

# Model Directory
MODELS_DIR = ROOT / 'models'

# Binary Classification Model Path
BIN_MODEL_PATH = MODELS_DIR / 'binary_classification'

# Multilabel Regression Model Path
ML_MODEL_PATH = MODELS_DIR / 'multilabel_regression'

# HF Hub Repositories
BIN_REPO = 'dlsmallw/Binary-Classification-testing'
ML_REPO = 'dlsmallw/Multilabel-Regression-testing'

BIN_API_URL = f"https://api-inference.huggingface.co/models/{BIN_REPO}"
ML_API_URL = f"https://api-inference.huggingface.co/models/{ML_REPO}"