jays009 commited on
Commit
3cb0798
·
verified ·
1 Parent(s): 44a9333

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ num_classes = 3
22
  CONFIDENCE_THRESHOLD = 0.8 # 80%
23
 
24
  # Mahalanobis distance threshold for OOD detection
25
- MAHALANOBIS_THRESHOLD = 100.0 # Calibrate this using a validation set
26
 
27
  # Download model from Hugging Face
28
  def download_model():
 
22
  CONFIDENCE_THRESHOLD = 0.8 # 80%
23
 
24
  # Mahalanobis distance threshold for OOD detection
25
+ MAHALANOBIS_THRESHOLD = 400.0 # Calibrate this using a validation set
26
 
27
  # Download model from Hugging Face
28
  def download_model():