ArticleClassifier / requirements.txt
gamaly's picture
Update requirements.txt
7bfc262 verified
raw
history blame contribute delete
653 Bytes
# 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