AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
140.01k stars 26.52k forks source link

[Bug]: Webui connects to cloudflare. #13315

Open Ph0rk0z opened 1 year ago

Ph0rk0z commented 1 year ago

Is there an existing issue for this?

What happened?

I am seeing in ublock origin that the webui connects to cloudflare. Perhaps this is from gradio but it should be redirected.

Why does a local UI have to phone home to a 3rd party not even related to the project.

Steps to reproduce the problem

Open the webui. Check Ublock advanced tab.

What should have happened?

Only see local addresses

Sysinfo

Dev branch, linux.

What browsers do you use to access the UI ?

Mozilla Firefox, Google Chrome

Console logs

Nothing in console.

Additional information

No response

catboxanon commented 1 year ago

It's due to this: https://github.com/gradio-app/gradio/blob/52f7831751b432411e109bd41add4ab286023a8e/js/app/index.html#L52C1-L55

If you want to see this removed you're going to have to open an issue upstream with Gradio.

Ph0rk0z commented 1 year ago

Hey so there is a workaround that removes it for textgen. I'll have to dig at how its done. But textgen-ui runs an older gradio.

Asking gradio is probably lost cause.

catboxanon commented 1 year ago

I guess they do remove it here: https://github.com/oobabooga/text-generation-webui/commit/9aee1064a3b1fe4d10575961f4fa0d5403600433

Ph0rk0z commented 1 year ago

Yep that's it!