TangSan003 commited on
Commit
540ec17
·
1 Parent(s): 29b213f

Fix: add --preload to prevent model download race condition

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -52,4 +52,5 @@ CMD ["gunicorn", \
52
  "--bind", "0.0.0.0:7860", \
53
  "--workers", "2", \
54
  "--timeout", "120", \
 
55
  "app:app"]
 
52
  "--bind", "0.0.0.0:7860", \
53
  "--workers", "2", \
54
  "--timeout", "120", \
55
+ "--preload", \
56
  "app:app"]