Nevysha / Cozy-Nest

A collection of tweak to improve Auto1111 UI//UX
Other
381 stars 17 forks source link

[Issue]: image browser does not work when running on a port other than 7680 #149

Closed the0ckid82 closed 1 year ago

the0ckid82 commented 1 year ago

What happened?

A bug happened!

Webui

Vlad's fork webui (SD.Next)

What browsers are you seeing the problem on?

Firefox, Chrome, Something else (please specify)

Additional info

it appears that in the image browser port 7680 is hard coded so if you choose to run SD on any other port the image browser will fail to show any images

Relevant browser log output

No response

Relevant log output from the webui

No response

Checklist

Nevysha commented 1 year ago

Not sure what you means. Are you talking about the gradio app port ? 7680 is the default port for gradio app. The image browser run a socket on another one

the0ckid82 commented 1 year ago

yes the gradio app if you run it on anything else other than 7680 when you use the cozy image browser the image path points to port 7860 instead of what ever port you are running it on. screenshots below show sdnext running on port 7862, and the image browser knows that the images exist how ever when it trys to load the thumbnails or the image it is trying to get them on the default gradio port

image being generated

image

cozy image browser

image

large view of image

image

inspecting via devtools showing its looking on the wrong port

image

hope this helps explain what i mean

Nevysha commented 1 year ago

ah yes you are totally right. I'll fix that