credify / app /core /config.py
abhisheksan's picture
setup
6064a78
raw
history blame contribute delete
311 Bytes
import os
from pathlib import Path
# Base directory of the project
BASE_DIR = Path(__file__).resolve().parent.parent.parent
# Anti-spoofing model and config paths
MODEL_PATH = os.path.join(BASE_DIR, "models", "mobilenetv2_spoof_model.h5")
CONFIG_PATH = os.path.join(BASE_DIR, "models", "model_config.json")