prince1604 commited on
Commit
1c616c4
·
1 Parent(s): 53a61cf

Fix Playwright version mismatch and increase timeout

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -31,4 +31,4 @@ EXPOSE 7860
31
 
32
  # Command to run the application using Gunicorn
33
  # Bind to 0.0.0.0:7860 as required by HF Spaces
34
- CMD ["gunicorn", "-b", "0.0.0.0:7860", "api:app"]
 
31
 
32
  # Command to run the application using Gunicorn
33
  # Bind to 0.0.0.0:7860 as required by HF Spaces
34
+ CMD ["gunicorn", "-b", "0.0.0.0:7860", "--timeout", "120", "--workers", "2", "api:app"]
requirements.txt CHANGED
@@ -6,6 +6,6 @@ cloudscraper
6
  curl_cffi
7
  flask
8
  flask-cors
9
- playwright
10
  gunicorn
11
  uvicorn
 
6
  curl_cffi
7
  flask
8
  flask-cors
9
+ playwright==1.40.0
10
  gunicorn
11
  uvicorn