- Switch U2Net from onnxruntime to OpenCV DNN to avoid "cannot enable executable stack" error in Docker - Add alertify dialog styling to fix white text on white background issue in popups - Add offerFloatSelection() to AI Paint that prompts user after selection to move/scale it (Canva-like workflow) - Auto-switch to Select tool after floating selection https://claude.ai/code/session_01CLedz6CanT9t46KBvng3vz
31 lines
1019 B
Plaintext
31 lines
1019 B
Plaintext
fastapi==0.109.0
|
|
uvicorn[standard]==0.27.0
|
|
python-multipart==0.0.6
|
|
Pillow>=10.0.0,<11.0.0
|
|
numpy<2.0.0
|
|
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
|
|
# 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
|
|
|
|
# Note: Using OpenCV DNN instead of onnxruntime for U2Net
|
|
# (onnxruntime has executable stack issues in some Docker environments)
|
|
|
|
# NOTE: rembg (background removal) disabled due to dependency conflicts
|
|
# rembg>=2.0.70 requires:
|
|
# - scikit-image>=0.26.0 which requires numpy>=2.0
|
|
# - Pillow>=12.1.0
|
|
# But opencv-python-headless 4.9.0.80 requires numpy<2.0
|
|
# To enable rembg, need to update opencv-python-headless to 4.10+ (numpy 2.x compatible)
|
|
# and update all dependent packages accordingly
|