Spaces:
Sleeping
Sleeping
Commit ·
f7a7ce8
1
Parent(s): 432adc4
Update Spacefile.yaml
Browse files- Spacefile.yaml +5 -1
Spacefile.yaml
CHANGED
|
@@ -5,5 +5,9 @@ dependencies:
|
|
| 5 |
- pip install -r requirements.txt
|
| 6 |
- pip install gunicorn
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
# Start the Flask app using Gunicorn
|
| 9 |
-
cmd: gunicorn -w 1 -b 0.0.0.0:7860 app:app
|
|
|
|
| 5 |
- pip install -r requirements.txt
|
| 6 |
- pip install gunicorn
|
| 7 |
|
| 8 |
+
# Set Hugging Face cache directory
|
| 9 |
+
env:
|
| 10 |
+
TRANSFORMERS_CACHE: /tmp/huggingface_cache
|
| 11 |
+
|
| 12 |
# Start the Flask app using Gunicorn
|
| 13 |
+
cmd: gunicorn -w 1 -b 0.0.0.0:7860 app:app
|