Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
jjyang77
commited on
Commit
•
c614380
1
Parent(s):
bb636ca
fewer gunicorn workers
Browse files
prod.sh
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
exec \
|
3 |
gunicorn \
|
4 |
-k uvicorn.workers.UvicornWorker \
|
5 |
-
--workers
|
6 |
--timeout 0 \
|
7 |
--bind 0.0.0.0:7860 \
|
8 |
--enable-stdio-inheritance \
|
|
|
2 |
exec \
|
3 |
gunicorn \
|
4 |
-k uvicorn.workers.UvicornWorker \
|
5 |
+
--workers 4 \
|
6 |
--timeout 0 \
|
7 |
--bind 0.0.0.0:7860 \
|
8 |
--enable-stdio-inheritance \
|