Skip to content

[Bug]: Gradio not starting offline, needs external CSS to start webUI #10024

Description

@neojam

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

I cant use WebUI offline anymore after the last big Update from a few days ago.
Gradio hangs, showing only rotating squares when you open WebUI-URL.

Its looks like it tries to access following css indefinitely and doesnt work without an access to those:
https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&display=swap
https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap

Steps to reproduce the problem

  1. Go offline
  2. start "webui-user.bat" and wait until "Running on local URL: http://127.0.0.1:7860" shows up
  3. start browser, go to above URL
  4. look at the rotating squares in browser indefinitely

What should have happened?

  1. WebUI Interface should have opened

Commit where the problem happens

somewhere after 22bcc7b

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

set PYTHON=
set GIT=
set VENV_DIR=

set COMMANDLINE_ARGS= --no-half-vae --opt-sdp-no-mem-attention --opt-channelslast --theme dark ^
--ckpt-dir         "D:\SD_STUFF\Models\_active" ^
--embeddings-dir   "D:\SD_STUFF\embeddings\_active" ^
--hypernetwork-dir "D:\SD_STUFF\hypernetworks\_active" ^
--lora-dir         "D:\SD_STUFF\LoRA\_active"

List of extensions

None. I cleared the "extensions" DIR for the test

Console logs

no errors shown

Additional information

I was able to reproduce the problem when I was online by blocking access to "fonts.googleapis.com" with umatrix.
Only after unblocking the above url i was able to load webui interface.

1
2
3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions