gamaly commited on
Commit
7bfc262
·
verified ·
1 Parent(s): 4aed66f

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +5 -3
requirements.txt CHANGED
@@ -19,6 +19,8 @@ gradio>=4.0.0
19
  # Hugging Face Hub (for loading models)
20
  huggingface_hub>=0.16.0
21
 
22
- # Scikit-learn (must match training version for model compatibility)
23
- # Model was trained with scikit-learn 1.8.0, need >=1.8.0 for predict_proba to work
24
- scikit-learn>=1.8.0
 
 
 
19
  # Hugging Face Hub (for loading models)
20
  huggingface_hub>=0.16.0
21
 
22
+ # Scikit-learn (Python 3.10 compatible - latest version for Python 3.10)
23
+ # Note: Model was trained with 1.8.0, but we use 1.7.2 for Python 3.10 compatibility
24
+ # The app includes a compatibility shim to handle version differences
25
+ scikit-learn>=1.7.2,<1.8.0
26
+