Spaces:
Runtime error
Runtime error
Commit History
-
Fix Hugging Face Spaces deployment error and improve configuration
- Create app.py entry point to resolve ModuleNotFoundError - Update Dockerfile to use app:app and set PYTHONPATH - Add .dockerignore to exclude unnecessary files from build - Fix hardcoded .env paths in utility scripts (init_db.py, test_conn.py, add_category_column.py) - Expand README with comprehensive deployment instructions and troubleshooting guide This fixes the "ModuleNotFoundError: No module named 'backend'" error by providing a proper entry point and module path configuration for Hugging Face Spaces Docker deployment. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>fad3958