Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +24 -8
requirements.txt
CHANGED
|
@@ -1,8 +1,24 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Gradio Space Requirements for Hugging Face Spaces
|
| 2 |
+
# This file is used when deploying to Hugging Face Spaces
|
| 3 |
+
|
| 4 |
+
# Core SetFit library
|
| 5 |
+
setfit>=1.0.0
|
| 6 |
+
|
| 7 |
+
# Hugging Face ecosystem
|
| 8 |
+
datasets>=2.14.0
|
| 9 |
+
sentence-transformers>=2.2.0
|
| 10 |
+
transformers>=4.30.0
|
| 11 |
+
|
| 12 |
+
# Data handling
|
| 13 |
+
pandas>=2.0.0
|
| 14 |
+
numpy>=1.24.0
|
| 15 |
+
|
| 16 |
+
# Gradio for the web interface
|
| 17 |
+
gradio>=4.0.0
|
| 18 |
+
|
| 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
|