Kaelan commited on
Commit
99c8e5d
·
1 Parent(s): 33a6e48

add threads

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. README.md +1 -1
Dockerfile CHANGED
@@ -62,4 +62,4 @@ RUN mkdir -p $HOME/sg_logs && chmod -R 777 $HOME/sg_logs
62
 
63
  WORKDIR $HOME/yolov-app
64
 
65
- CMD ["gunicorn", "-w", "4", "--timeout", "600", "-b", "0.0.0.0:5000", "main:app"]
 
62
 
63
  WORKDIR $HOME/yolov-app
64
 
65
+ CMD ["gunicorn", "-w", "4", "--threads", "12", "--timeout", "900", "-b", "0.0.0.0:7860", "main:app"]
README.md CHANGED
@@ -6,7 +6,7 @@ colorTo: purple
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
- app_port: 5000
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
+ app_port: 7860
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference