anapnoe / stable-diffusion-webui-ux

Stable Diffusion web UI UX
GNU Affero General Public License v3.0
978 stars 59 forks source link

[Feature Request]: Find a way to disable the remote fetches for fonts and the iframe resizer #82

Open ilikenwf opened 1 year ago

ilikenwf commented 1 year ago

Is there an existing issue for this?

What would your feature do ?

Gradio pulls from google and cloudflare which is an issue for local installs on non internet machines. In addition it's a privacy problem because Google is generally evil.

Proposed workflow

It would be nice to have non-CDN versions of the fonts and iframe resizer by default.

Additional information

No response

anapnoe commented 1 year ago

Yes we can do that the issue is with gradio components that aren't included on the startup and are part of various extensions but I think we can create a bundle with all of them

halr9000 commented 1 year ago

@anapnoe guess what I found when profiling my startup delay issue? Looks suspiciously related to how fonts are loaded. Edit: meh, I don't know that's the case...more likely it's what came right before the fonts. Anyway, was interesting for a second. :D

image