| # ComfyUI Launcher Script | |
| # Starts ComfyUI server with network access enabled | |
| source /workspace/venv/bin/activate | |
| cd /workspace/ComfyUI | |
| echo "Starting ComfyUI..." | |
| echo "Access the web UI at: http://localhost:8188" | |
| echo "Or from external: http://<your-runpod-ip>:8188" | |
| echo "" | |
| echo "Press Ctrl+C to stop the server" | |
| echo "" | |
| python main.py \ | |
| --listen 0.0.0.0 \ | |
| --port 8188 \ | |
| --preview-method auto | |