Browse Source

Update start.sh

DrMelone 2 months ago
parent
commit
2c1d0e3857
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/start.sh

+ 1 - 1
backend/start.sh

@@ -65,4 +65,4 @@ if [ -n "$SPACE_ID" ]; then
   export WEBUI_URL=${SPACE_HOST}
   export WEBUI_URL=${SPACE_HOST}
 fi
 fi
 
 
-WEBUI_SECRET_KEY="$WEBUI_SECRET_KEY" exec uvicorn open_webui.main:app --host "$HOST" --port "$PORT" --forwarded-allow-ips '*'
+WEBUI_SECRET_KEY="$WEBUI_SECRET_KEY" exec uvicorn open_webui.main:app --host "$HOST" --port "$PORT" --forwarded-allow-ips '*' --workers "${UVICORN_WORKERS:-1}"