Spaces:
Paused
Paused
File size: 1,691 Bytes
3ccf7f0 e944b46 3ccf7f0 e944b46 3ccf7f0 af3c3e0 10cb238 e944b46 3ccf7f0 af3c3e0 3ccf7f0 e944b46 ef49b1e 3ccf7f0 e944b46 3ccf7f0 f93d309 3ccf7f0 e944b46 3ccf7f0 e944b46 3ccf7f0 e944b46 3ccf7f0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | # 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/
|