anomaly-detection-api / requirements.txt
Senum2001
Add automated training scheduler - checks every 2 minutes and trains when 10+ feedback samples available
a023a85
raw
history blame contribute delete
659 Bytes
# Optimized requirements - minimal dependencies for Hugging Face Spaces
# Core inference only, no training dependencies
# PyTorch (CPU version to save space)
--extra-index-url https://download.pytorch.org/whl/cpu
torch==2.4.1+cpu
torchvision==0.19.1+cpu
# Anomalib (minimal, not [full])
# Using specific version to avoid VLM model imports
anomalib
open-clip-torch
# OpenCV and image processing
opencv-python-headless
pillow
numpy
# Flask web framework
flask
# Cloudinary for image upload
cloudinary
# Configuration
omegaconf
pyyaml
python-dotenv
# Utilities
requests
# Supabase for feedback storage
supabase
# Background task scheduling
APScheduler