- Use onnxruntime 1.14.1 (older version without executable stack requirement) - Make rembg pre-download optional (won't fail build if onnxruntime has issues) - Remove Background will be disabled if rembg can't load
24 lines
668 B
Plaintext
24 lines
668 B
Plaintext
fastapi==0.109.0
|
|
uvicorn[standard]==0.27.0
|
|
python-multipart==0.0.6
|
|
Pillow==10.2.0
|
|
numpy==1.26.3
|
|
sqlalchemy==2.0.25
|
|
python-jose[cryptography]==3.3.0
|
|
passlib[bcrypt]==1.7.4
|
|
python-dotenv==1.0.0
|
|
aiofiles==23.2.1
|
|
httpx==0.26.0
|
|
pydantic==2.5.3
|
|
pydantic-settings==2.1.0
|
|
email-validator==2.1.0
|
|
opencv-python-headless==4.9.0.80
|
|
scikit-image==0.22.0
|
|
# rembg for background removal - use onnxruntime 1.14.1 to avoid executable stack issue in Docker
|
|
onnxruntime==1.14.1
|
|
rembg==2.0.50
|
|
# SAM (Segment Anything) for smart object selection - runs locally, no API needed
|
|
torch==2.1.2
|
|
torchvision==0.16.2
|
|
segment-anything @ git+https://github.com/facebookresearch/segment-anything.git
|