runpod-worker-comfy icon indicating copy to clipboard operation
runpod-worker-comfy copied to clipboard

Access the WebUI

Open crax0 opened this issue 11 months ago • 6 comments

Is your feature request related to a problem? Please describe.

Im trying to access the WebUI somehow..

Describe the solution you'd like

Im already building my own image from the dev brach and can connect the network storage for my own models but is there any way to access the WebUi of the running serverless instance? Maybe someone could tell me what i have to do to access it. Expose the port 8188 in the Dockerfile and map it in runpod?

crax0 avatar Mar 11 '24 20:03 crax0

Add --listen to start.sh

python3 /comfyui/main.py --disable-auto-launch --disable-metadata --listen &

brgrp avatar Mar 13 '24 09:03 brgrp

Thanks for the reply! If i add --listen, where do i find the full url for the webui to access it? Since the script only exports api routes on a serverless instance 🤔

crax0 avatar Mar 13 '24 09:03 crax0

Any ideas? @brgrp

crax0 avatar Mar 26 '24 22:03 crax0

Hi @crax0 ,

I am stuck with the same issue, were you able to find a way to access the webui after adding the --listen parameter?

Thanks!

maxabrahamsson avatar Mar 28 '24 01:03 maxabrahamsson

Unfortunately not 👎🏼 Still looking for a way to access it...

crax0 avatar Mar 28 '24 08:03 crax0

Ah, I see, why would you want to get web interface access for a serverless instance? That doesn't make sense to me as serverless only works when you send a request.

You can also use the docker image on a pod instance and that should work as suggested. I'm not sure if serverless instances provide a public URL. Thats probably a question for runpod.

brgrp avatar Mar 28 '24 18:03 brgrp

:tada: This issue has been resolved in version 2.2.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

TimPietrusky avatar Jun 04 '24 09:06 TimPietrusky

@crax0 @brgrp @maxabrahamsson we added this directly into the worker: Access ComfyUI via WebUI.

TimPietrusky avatar Jun 04 '24 13:06 TimPietrusky