Spaces:
Running
Running
File size: 311 Bytes
6064a78 |
1 2 3 4 5 6 7 8 9 10 11 12 |
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")
|