Yassine Mhirsi commited on
Commit
3a33610
·
1 Parent(s): 3d16d84

Update Hugging Face stance model ID configuration to use environment variable directly

Browse files
Files changed (1) hide show
  1. config.py +1 -1
config.py CHANGED
@@ -13,7 +13,7 @@ PROJECT_ROOT = API_DIR.parent
13
 
14
  # Hugging Face configuration
15
  HUGGINGFACE_API_KEY = os.getenv("HUGGINGFACE_API_KEY", "")
16
- HUGGINGFACE_STANCE_MODEL_ID = os.getenv("HUGGINGFACE_STANCE_MODEL_ID", "yassine-mhirsi/debertav3-stance-detection")
17
 
18
  # Stance detection model configuration
19
  # Use Hugging Face model ID instead of local path
 
13
 
14
  # Hugging Face configuration
15
  HUGGINGFACE_API_KEY = os.getenv("HUGGINGFACE_API_KEY", "")
16
+ HUGGINGFACE_STANCE_MODEL_ID = os.getenv("HUGGINGFACE_STANCE_MODEL_ID")
17
 
18
  # Stance detection model configuration
19
  # Use Hugging Face model ID instead of local path