Spaces:
Sleeping
Sleeping
Commit History
-
fix: improve model download to work in read-only filesystem
RiceZero +1: Claude- Set environment variables BEFORE any imports (critical timing) - Change to /tmp directory before config import - Add diagnostic output for debugging - Simplify copy logic to only check WEIGHTS_DIR - Better error handling for copy failures This ensures Ultralytics downloads to writable /tmp location. Co-Authored-By: Claude <noreply@anthropic.com>1cb8410 -
fix: resolve read-only filesystem error for FastSAM model download
RiceZero +1: Claude- Set YOLO_CONFIG_DIR and TORCH_HOME to writable /tmp directories - Change working directory to /tmp in download script before model download - Set environment variables at Flask app startup - Update deployment documentation with troubleshooting info This fixes the "Read-only file system" error that was causing deployment startup timeouts and model download failures. Co-Authored-By: Claude <noreply@anthropic.com>325722c -
fix: enhance FastSAM model loading logic to prioritize local path and fallback to cache
RiceZero7b9fc68 -
fix: improve FastSAM model download and pre-loading logic
RiceZero4f4c8c3
-
ver1
RiceZeroa49c70b