comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
56.88k stars 6.03k forks source link

GUI not loading, browser just shows blank page #2753

Open hailtotheking424 opened 9 months ago

hailtotheking424 commented 9 months ago

I'm running linux and followed the installation instructions exactly, but when I run main.py it says

(base) bash-5.1$ python main.py --disable-cuda-malloc Total VRAM 6078 MB, total RAM 7847 MB Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce GTX 980 Ti : native VAE dtype: torch.float32 Using pytorch cross attention Starting server

To see the GUI go to: http://127.0.0.1:8188

Opening that link in Firefox just displays a blank white page. I've tested and successfully generated images with EasyDiffusion on this system so it is capable of running SD. I've found another thread on another git page where someone had a similar issue but I'm not sure if that's relevant and if so how to translate that solution to this, https://github.com/ModelSurge/sd-webui-comfyui/issues/184, here is the link if that could possibly be helpful.

hady2010 commented 9 months ago

me too

waltm commented 9 months ago

I'm getting the same issue on windows. It was running fine a few days ago. I was recently trying to get some custom nodes running (instantID, faceswap) but was having an issue with them before the blank screen. I'll paste an error but not sure if it has anything to do with the issue.

image

ltdrdata commented 9 months ago

goto ComfyUI dir and execute git status. What is displayed?

hailtotheking424 commented 9 months ago

goto ComfyUI dir and execute git status. What is displayed?

On branch master Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

waltm commented 9 months ago
`E:\AI_Files\ComfyUI_windows_portable\ComfyUI>git status
Refresh index: 100% (273/273), done.
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   folder_paths.py
        modified:   web/extensions/core/uploadImage.js
        modified:   web/scripts/widgets.js

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        pysssss-workflows/
        styles/
        web/lib/fabric.js

no changes added to commit (use "git add" and/or "git commit -a")`

web/scripts/widgets.js was an empty file at 0kb. I replaced it with a new one from a clean install and the web page is displaying properly now. Should I also replace the other 'modified' files or leave them?

ltdrdata commented 9 months ago

git reset --hard

hailtotheking424 commented 9 months ago

in case anyone with a similar issue comes across this, it worked after I updated firefox