File size: 653 Bytes
4aed66f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7bfc262
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Gradio Space Requirements for Hugging Face Spaces
# This file is used when deploying to Hugging Face Spaces

# Core SetFit library
setfit>=1.0.0

# Hugging Face ecosystem
datasets>=2.14.0
sentence-transformers>=2.2.0
transformers>=4.30.0

# Data handling
pandas>=2.0.0
numpy>=1.24.0

# Gradio for the web interface
gradio>=4.0.0

# Hugging Face Hub (for loading models)
huggingface_hub>=0.16.0

# Scikit-learn (Python 3.10 compatible - latest version for Python 3.10)
# Note: Model was trained with 1.8.0, but we use 1.7.2 for Python 3.10 compatibility
# The app includes a compatibility shim to handle version differences
scikit-learn>=1.7.2,<1.8.0