stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Blank UI screen, no errors

Open rceballos98 opened this issue 3 years ago • 7 comments

I've installed this following linux instructions with no issues. When I run bash webui.sh I get the following seemingly normal message:

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on *** user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Clone or update stable-diffusion-webui
################################################################
Already up to date.

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Python 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:36:39) [GCC 10.4.0]
Commit hash: b5d705e26324e1069e82dda149f7bf494da31142
Installing requirements for Web UI
Launching Web UI with arguments: 
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Loading weights [7460a6fa] from /home/user/stable-diffusion-webui/models/sd-v1-4.ckpt
Global Step: 470000
Model loaded.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.\

I see no errors or indications that anything went wrong, but nonetheless when I go to that address on any browser I just see a full blank screen. Network package inspection also has no errors. Everything seems fine, I just doesn't display anything!

Environment: Distro: PopOS 18.04 LTS - Basically Ubuntu 18.04 LTS Python: 3.10.6 from conda forge (I ran everything from a clean conda env with python 3.10.6) Video Card: NVidia 2080-Ti GEFORCE RTX

rceballos98 avatar Sep 25 '22 03:09 rceballos98

What does blank mean here, is it a white screen or the default gradio background blue?

dfaker avatar Sep 25 '22 06:09 dfaker

I get same issue, using Brave and Windows 10. Stuck at a greyish screen (using browser dark mode) with the word "Loading..." in the middle. Tab name and icon seem fine. Tab seems to stop loading pretty quickly. Also using ublock origin, but it isn't blocking anything on this page.

Edit Going into the browser development tools, it looks like the loading screen that is covering the webpage is not going away. however hiding it, the UI still does not function. No tabs and cannot press the generate button.

Looking at the console in the developer tab, there was an error in some javascript: TypeError: trim is not a function

	function text_area_resize(el, value) {
		if (lines === max_lines) return;
		el.style.overflowY = "scroll";
		el.addEventListener("input", resize);
		if (!value.trim()) return;
		resize({ target: el });

		return {
			destroy: () => el.removeEventListener("input", resize)
		};
	}

Inserting: if (!(typeof value === 'string')) return; before the trim line in two index*.js files seems to help it get past the error and get into the application.

ArgGrr avatar Sep 25 '22 06:09 ArgGrr

What does blank mean here, is it a white screen or the default gradio background blue?

Completely blank/white screen. Tried on Chrome, Firefox and Safari, same issue.

rceballos98 avatar Sep 25 '22 18:09 rceballos98

It seems my issue was different to OP. I at least got something on the screen and could get past it with some code hacks.

Anyway I reverted my changes, and it works normally now! I did pull updates from your repo earlier. Which means I didn't change any of the repo files, and potentially a fix come out in the last day. Works in Edge also. Or I prompted to much and broke my brain.

Thanks!

Sent with Proton Mail secure email.

------- Original Message ------- On Monday, September 26th, 2022 at 5:26 PM, ReinerBforartists @.***> wrote:

A browser issue maybe? Brave is Firefox based. What if you use a chromium based browser? Chrome, Opera, etc.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

ArgGrr avatar Sep 26 '22 10:09 ArgGrr

Error I just set everything up today and I'm having the same or a similar problem. It doesn't throw any errors, but opening the IP address only leads to a page with a few garbled symbols in one corner. No UI or anything, though I can access /docs.

I disabled every browser addon and extension, but the same thing still happened.

Opening the page source in another tab shows what seems like everything the UI should have, but nothing appears normally.

Zeke-Green avatar Dec 11 '22 05:12 Zeke-Green

same question, update broswer has solved it.

a574824551 avatar Feb 23 '23 09:02 a574824551

Same issue.

My output:

cd ~/stable-diffusion-webui && python launch.py --no-half-vae --disable-nan-check
Python 3.9.16 (main, Jan 11 2023, 16:05:54) 
[GCC 11.2.0]
Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Fetching updates for Stable Diffusion...
Checking out commit for Stable Diffusion with hash: 47b6b607fdd31875c9279cd2f4f16b92e4ea958e...
Fetching updates for Taming Transformers...
Checking out commit for Taming Transformers with hash: 24268930bf1dce879235a7fddd0b2355b84d7ea6...
Fetching updates for K-diffusion...
Checking out commit for K-diffusion with hash: 5b3af030dd83e0297272d861c19477735d0317ec...
Fetching updates for CodeFormer...
Checking out commit for CodeFormer with hash: c5b4593074ba6214284d6acd5f1719b6c5d739af...
Fetching updates for BLIP...
Checking out commit for BLIP with hash: 48211a1594f1321b00f14c9f7a5b4813144b2fb9...
Installing requirements for Web UI
Launching Web UI with arguments: --no-half-vae --disable-nan-check
No module 'xformers'. Proceeding without it.
Loading weights [6ce0161689] from /home/jiangfeng.liu/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors
Creating model from config: /home/jiangfeng.liu/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0): 
Model loaded in 3.2s (create model: 0.5s, apply weights to model: 0.6s, apply half(): 0.3s, load VAE: 1.2s, move model to device: 0.4s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.

timelic avatar Feb 28 '23 13:02 timelic

i have something like that , In firefox its just white screen but in chrom it work with really bad interface big logos in the middle of the screen , i really want a solution Screenshot 2023-05-18 210016

Dhif216 avatar May 18 '23 18:05 Dhif216

The only thing that worked for me was to add --share to the argument list in webui-user.bat.

set COMMANDLINE_ARGS= --xformers --autolaunch --share

mikmoth avatar Jun 03 '23 12:06 mikmoth

same question, update broswer has solved it.

thks, works for me

onezens avatar Jun 04 '23 04:06 onezens

I'm on a Mac Silicon Macbook and browser update and commandline arg change didn't help. Anyone else with an M1 or M2 Mac with this problem and a solution?

photodarren avatar Aug 26 '23 08:08 photodarren