Skip to content

Commit

Permalink
feat: the local API should run on 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPietrusky committed Feb 11, 2024
1 parent e3de2fa commit fb17089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ echo "runpod-worker-comfy: Starting RunPod Handler"

# Serve the API and don't shutdown the container
if [ "$SERVE_API_LOCALLY" == "true" ]; then
python3 -u /rp_handler.py --rp_serve_api
python3 -u /rp_handler.py --rp_serve_api --rp_api_host=0.0.0.0
else
python3 -u /rp_handler.py
fi

0 comments on commit fb17089

Please sign in to comment.