HNTAI / .gitignore
sachinchandrankallar's picture
Update .gitignore to include additional files and directories for macOS, Linux, and application-specific configurations. Modify .huggingface.yaml to enhance Docker build settings and hardware requirements. Refactor app.py to remove legacy code and improve error handling. Remove deprecated files related to comprehensive streaming fixes, deployment scripts, and optimized Docker configurations. Update Dockerfile.prod to extend Gunicorn timeout for better performance. Enhance health endpoints and model management with improved logging and error handling. Consolidate routes and simplify architecture for better maintainability.
af75202
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
*.log
# Virtual Environments
venv/
env/
ENV/
env.bak/
venv.bak/
.venv/
# IDEs
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
# Jupyter Notebooks
.ipynb_checkpoints
*.ipynb
# Environment Variables
.env
.env.local
.env.*.local
*.env
# Model Caches
.cache/
models/
model_cache/
*.gguf
*.bin
*.safetensors
# Hugging Face
.huggingface/
huggingface_cache/
# PyTorch
torch_cache/
.torch/
# Whisper
whisper_cache/
.whisper/
# Temporary Files
tmp/
temp/
*.tmp
*.bak
*.backup
*.orig
# OS Files
Thumbs.db
.DS_Store
desktop.ini
# Docker
.dockerignore
# Logs
logs/
*.log
*.log.*
# Database
*.db
*.sqlite
*.sqlite3
postgresql_data/
# Redis
dump.rdb
# Testing
.pytest_cache/
.coverage
htmlcov/
.tox/
.nox/
# Documentation builds
docs/_build/
docs/.doctrees/
site/
# Compiled files
*.pyc
*.pyo
*.pyd
# Data files (add specific data directories you want to ignore)
data/uploads/
data/temp/
uploads/
# Sensitive files
secrets/
*.key
*.pem
*.crt
*.cert
*.p12
# Large files
*.zip
*.tar.gz
*.rar
*.7z
*.iso
# Node modules (if using any JS tooling)
node_modules/
package-lock.json
yarn.lock
# MyPy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre
.pyre/
# pytype
.pytype/
# Celery
celerybeat-schedule
celerybeat.pid
# SageMath
*.sage.py
# Rope
.ropeproject
# mkdocs
/site
# Spyder
.spyderproject
.spyproject
# Profiling
*.prof
*.lprof
# Coverage
.coverage
.coverage.*
coverage.xml
*.cover
.hypothesis/
# Translations
*.mo
*.pot
# Sphinx
docs/_build/
docs/_static/
docs/_templates/
# Backup files
*~
\#*\#
.\#*
# Windows
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk
# macOS
.AppleDouble
.LSOverride
Icon
._*
.Spotlight-V100
.Trashes
# Linux
.directory
.Trash-*
# Redis
dump.rdb
# Application specific
.huggingface.yaml.bak
models_config.json.bak