Nodes Browser
ComfyDeploy: How ComfyUI-ngrok works in ComfyUI?
What is ComfyUI-ngrok?
Use ngrok to allow external access to ComfyUI. NOTE: Need to manually modify a token inside the __init__.py file.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-ngrok
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI-ngrok
Use ngrok to allow external access to ComfyUI.
*It is not a custom node.
Installation:
- Use
git clone https://github.com/pkpkTech/ComfyUI-ngrok
in your ComfyUI custom nodes directory - Use
pip install -r requirements.txt
in ComfyUI-ngrok directory - Open the init.py file in a text editor, replace None on line 12 with your ngrok Authtoken and save.
If the preparation is successful, you will find the URL in the console when you start ComfyUI.
If this does not work, adding --enable-cors-header
to the ComfyUI execution argument may help.