BlafKing / sd-civitai-browser-plus

Extension to access CivitAI via WebUI: download, delete, scan for updates, list installed models, assign tags, and boost downloads with multi-threading.
GNU Affero General Public License v3.0
289 stars 44 forks source link

[Bug]: Browser not displaying within page #259

Closed prezofpizza closed 3 months ago

prezofpizza commented 3 months ago

Describe the bug.

When viewing Loras and Checkpoints, the button that displays the CivitAI information and samples does not display properly.

image

It's kind of difficult to see in the picture, but it's just a blank interface modal that appears on the top of the screen and can't be scrolled.

Steps to reproduce the problem.

Navigate to LORAs or Checkpoints Click CivitAI logo image

Expected behavior

The CivitAI browser should appear

System info

Console logs

2024-04-02 11:01:08 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK"
2024-04-02 11:01:08 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK"
2024-04-02 11:01:08 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK"
2024-04-02 11:01:08 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK"
2024-04-02 11:01:08 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK"
2024-04-02 11:01:08 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK"
2024-04-02 11:01:09 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK"
2024-04-02 11:01:09 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK"
2024-04-02 11:01:09 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK"
2024-04-02 11:01:09 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK"
2024-04-02 11:01:10 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK"
2024-04-02 11:01:10 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK"
2024-04-02 11:01:15 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK"
2024-04-02 11:01:15 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK"
2024-04-02 11:01:24 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK"
2024-04-02 11:01:24 INFO [httpx] HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK"

Additional information

Seems to be browser agnostic, tried on various browsers.

prezofpizza commented 3 months ago

Enabling this setting seems to resolve the issue: image

ThomasLienhardPro commented 3 months ago

I have the same issue as you, but use local html didn't work for me. But some of my lora's are working, some not (the ones that didn't work seems costumes/cosplays)

prezofpizza commented 3 months ago

Yeah it seems that option only partially resolves it, but it's inconsistent.

Terroosh commented 3 months ago

I've had this happen but it was because the model was removed from Civitai. I think a decent solution would be if the model page is no longer on Civitai then check for the local html and load that.

BlafKing commented 3 months ago

Thanks for reporting!

I'll look into why this is hapenning, and also use the HTML as a fallback if the model is not found on CivitAI 👍🏻

prezofpizza commented 3 months ago

I did find after deleting my venv and removing the extension, then recreating venv and reinstalling the extension it seems to work as expected! So far at least :) I'll keep you posted if the issue recurs, for your awareness.

BlafKing commented 3 months ago

Should now be fixed in the latest version.

Thanks again for posting! I'll mark this as resolved👍🏻

ThomasLienhardPro commented 3 months ago

Work great thanks for the fixes!