Spaces:
Paused
Paused
| # Build context optimization for Hugging Face Spaces | |
| # Exclude everything by default, then include only what's needed | |
| # Exclude all files and directories first | |
| * | |
| # Include only essential files for the application | |
| !requirements.txt | |
| !README.md | |
| !app.py | |
| !__init__.py | |
| !entrypoint.sh | |
| !models_config.json | |
| # Include source code (but not cache files) | |
| !services/ | |
| !services/ai-service/ | |
| !services/ai-service/src/ | |
| !services/ai-service/src/ai_med_extract/ | |
| !services/ai-service/src/app.py | |
| !services/ai-service/src/config_settings.py | |
| !services/ai-service/src/gradio_app.py | |
| !services/ai-service/src/wsgi.py | |
| # Include scripts | |
| !scripts/ | |
| # Exclude Python cache and build artifacts | |
| **/__pycache__/ | |
| **/*.py[cod] | |
| **/*$py.class | |
| **/*.so | |
| **/*.egg | |
| **/*.egg-info/ | |
| **/dist/ | |
| **/build/ | |
| **/*.whl | |
| **/.pytest_cache/ | |
| **/htmlcov/ | |
| **/.tox/ | |
| **/.coverage | |
| # Exclude virtual environments and local setup | |
| **/.env* | |
| **/venv/ | |
| **/.venv/ | |
| **/ENV/ | |
| **/env/ | |
| **/.ENV/ | |
| # Exclude IDE and development files | |
| **/.vscode/ | |
| **/.idea/ | |
| **/*.swp | |
| **/*.swo | |
| **/*~ | |
| **/.DS_Store* | |
| # Exclude logs and temporary files | |
| **/*.log | |
| **/*.tmp | |
| **/*.temp | |
| **/*.out | |
| **/docker_build.log | |
| # Exclude large media and model files | |
| **/*.pt | |
| **/*.pth | |
| **/*.ckpt | |
| **/*.h5 | |
| **/*.onnx | |
| **/*.npz | |
| **/*.npy | |
| **/*.tar.gz | |
| **/*.zip | |
| **/*.tar | |
| **/*.gz | |
| **/*.bz2 | |
| **/*.7z | |
| **/*.rar | |
| **/*.wav | |
| **/*.mp4 | |
| **/*.mp3 | |
| **/datasets/ | |
| **/models/ | |
| **/outputs/ | |
| **/uploads/ | |
| # Exclude git and version control (except what's needed) | |
| **/.git/ | |
| **/.gitignore | |
| **/.gitattributes | |
| # Exclude documentation (except README) | |
| **/*.md | |
| !README.md | |
| **/docs/ | |
| **/*.ipynb | |
| # Exclude node modules and other package managers | |
| **/node_modules/ | |
| **/package*.json | |
| # Exclude testing and development artifacts | |
| **/.cache/ | |
| **/node_modules/ | |