Spaces:
Sleeping
Sleeping
| # Spacefile | |
| # Install dependencies | |
| dependencies: | |
| - pip install -r requirements.txt | |
| - pip install gunicorn | |
| # Set Hugging Face cache directory | |
| env: | |
| TRANSFORMERS_CACHE: /tmp/huggingface_cache | |
| # Start the Flask app using Gunicorn | |
| cmd: gunicorn -w 1 -b 0.0.0.0:7860 app:app | |