Spaces:
Running
Running
Commit History
-
Fix HuggingFace model cache permission error
thadillo +1: ClaudeIssue: Models pre-downloaded during Docker build were not readable by the non-root user that HuggingFace Spaces uses at runtime. Error: [Errno 13] Permission denied: '/app/.cache/huggingface/models--facebook--bart-large-mnli' Solution: Add chmod -R 777 /app/.cache after downloading models to ensure the cache directory is readable by any user. This fixes the repeated "Error analyzing submission" and "Error loading model" errors that were occurring when analyzing submissions on HuggingFace Spaces. Also added comprehensive deployment and setup documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>18bfe26