Ajey95 commited on
Commit
8e2f4c8
·
1 Parent(s): b945b4a

Fix: Increase Gunicorn timeout to 120s for long API calls

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -13,4 +13,4 @@ COPY . .
13
 
14
  # Command to run your application using Gunicorn
15
  # Hugging Face Spaces expects the app to run on port 7860
16
- CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
 
13
 
14
  # Command to run your application using Gunicorn
15
  # Hugging Face Spaces expects the app to run on port 7860
16
+ CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--timeout", "120", "app:app"]