Open daryldejori opened 9 months ago
Use Browser F12 Debug to see what is not loading
Thanks for the quick response and apologies or not specifying this. The network tab in firebug reveals that all is loaded correctly (200 codes) and there are no errors so far. I'm attaching the har file (zipped as har is not supported firebug_har_file.zip ). Also, I have no extensions installed - it is starting straight away with a broken layout.
You need to clear cache in your browser (not cookies!!)
you mean like Ctrl + F5
?
I already used several browsers and tried to clear the cache as well. Use incognito mode with no browser extensions, etc. But no luck so far.
I wonder if the Style database not found: Y:\SD1\stable-diffusion-webui\styles.csv
is the culprit.
But as I see, it is related to the models not the UI itself.
venv "Y:\SD1\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.9 | packaged by Anaconda, Inc. | (main, Mar 1 2023, 18:18:15) [MSC v.1916 64 bit (AMD64)] Version: v1.7.0 Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e Launching Web UI with arguments: no module 'xformers'. Processing without... no module 'xformers'. Processing without... No module 'xformers'. Proceeding without it. Style database not found: Y:\SD1\stable-diffusion-webui\styles.csv "Disable all extensions" option was set, will not load any extensions Loading weights [6ce0161689] from Y:\SD1\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors Running on local URL: http://127.0.0.1:7860 Creating model from config: Y:\SD1\stable-diffusion-webui\configs\v1-inference.yaml
To create a public link, set share=True
in launch()
.
Startup time: 14.7s (prepare environment: 2.8s, import torch: 4.1s, import gradio: 1.8s, setup paths: 1.6s, initialize shared: 0.3s, other imports: 1.4s, setup codeformer: 0.1s, scripts list_optimizers: 1.5s, create ui: 0.4s, gradio launch: 0.6s).
Applying attention optimization: Doggettx... done.
Model loaded in 4.6s (load weights from disk: 0.5s, create model: 0.4s, apply weights to model: 2.4s, apply half(): 0.9s, calculate empty prompt: 0.2s).
I wonder if the Style database not found: Y:\SD1\stable-diffusion-webui\styles.csv is the culprit.
no
that's file is used for storing prompt styles, it just tells you it's not found and it will be created if you added your own styles
idk, i had this problem on android, and cleared apk cache. I don't know what is the equivalent of apk cache in desktop browser
I'm attaching the actual source code from the index. It seems to me that the index-xx.css are not loaded or imported anywhere in the file=style.css?1705953914.7966385. I also couldn't find any broken link in the styles. Very weird. view-source_127.0.0.1_7860.zip
did you solve it? what's the cause
Apologies for accidentally closing it. The issue is still persisting but I suppose it is a local issue. It happens with all similar apps (Gradio Apps - Focuus, etc. ComfyUI) across all browsers (Chrome, Firefox, Edge) on this system.
Do you have any suggestions that could help in debugging the cause?
It happens with all similar apps (Gradio Apps - Focuus, etc. ComfyUI) across all browsers (Chrome, Firefox, Edge) on this system.
since you have multiple things that are experiencing similar issues it is unlikely that the issue is within webui have you tried disabling adblock firewall antivirus
what happens if you connect to web UI using your phone?
Thanks for the hint. Things are getting complicated now (see screenshot) . The issue remains the same when accessed locally on an Android 13 device running Chrome. What could be a local system component that causes this isseu (Windows 10 Pro)?
to be honest I'm out of ideas
since there's no obvious connection issues on browser side I'm guessing that this is something server side
maybe somehow it's blocked by some sort of firewall rule or antivirus setting the antivirus can also decides to quarantine some weuiI files are "damaged" webui but if it's the case I think it likely won't even launch
this is me guessing randomly
FYI the index-xx.css
stuff should be gradio built-in stuff
Thanks for your input. I tried to disable the firewall and antivirus but no luck so far. I suppose that's a dead end then.
confirm, did you try disabling antivirus AND THEN re-install? like if the antiverse remove some files it's permanent, you need to reinstall to make them come back
Yes. Just tried it again with AV/FW completely deactivated. Checked the logs as well - no success, same results. StableSwarmUI works fine. Basically, I think it has to do with Gradio. I am confused that noone else is experiencing this issue tho.
the closest thing I got is this and I only managed to get this by a strange combination of killing the server and reloading the webpage
It's indeed very strange and I spent another few hours on finding the issue.
So far we can exclude that:
It may have to do with an external compontent that is required on Windows. Are there any .NET or other frameworks that need to be installed to run Gradio apps? Currently I am looking into a potential faulty cache from Gradio.
Checklist
What happened?
After a clean install on Windows I am welcomed by a completely broken web-UI (see attached screen).
No errors were seen during the console installation (first update, then run), except for "Style database not found: Y:\SD1\stable-diffusion-webui\styles.csv" . Which I suppose could be the issue since the file is missing.
I tried all different ways to install it (via GIT, via download extract and execute).
Steps to reproduce the problem
Download. Install (via GIT or extraction) Run View in a browser (tried Edge, Chrome, Firefox - same result)
What should have happened?
A working web UI.
What browsers do you use to access the UI ?
Mozilla Firefox, Google Chrome, Microsoft Edge
Sysinfo
sysinfo-2024-01-22-20-20.json
Console logs
Additional information
version: v1.7.0 • python: 3.10.9 • torch: 2.0.1+cu118 • xformers: N/A • gradio: 3.41.2 • checkpoint: 6ce0161689