butaixianran / Stable-Diffusion-Webui-Civitai-Helper

Stable Diffusion Webui Extension for Civitai, to manage your model much more easily.
2.41k stars 288 forks source link

[Bug] Not showing buttons - Automatic1111 ver 1.6.0 RC #238

Closed suonnon closed 1 year ago

suonnon commented 1 year ago

Have you read document?

Yes

Have you checked console log window's msg?

Yes

Describe Issue

After upgrading Automatic1111 to version 1.6.0, the CivitAiHelper buttons not showing on checkpoint/hypernetworks/loras/textual inversions cards. I pressed the refresh blue button, but still not working. I'm using Automatic1111 1.6.0 RC, CivitAiHelper latest version, default dark theme

Screenshot for UI issue

image

Console log's msg or screenshot for function issue

jkyndir commented 1 year ago

i ran into the same issue. plz help

p3p-pixel commented 1 year ago

Please refer here. https://github.com/axilesoft/Stable-Diffusion-Webui-Civitai-Helper/commit/0a62d3af0abd2e159675a62002f3b6ebefce9f5c Also, although I haven't tried it much, it seems that the creation of unnecessary buttons can be suppressed by changing part of the above code as follows.

if (replace_preview_btn==null) {
    replace_preview_btn = document.createElement("a");   
    additional_node.prepend(replace_preview_btn); // <-
}
waltercool commented 1 year ago

This fix works great to me.

Is this project being updated by maintainer?

suonnon commented 1 year ago

Please refer here. axilesoft@0a62d3a Also, although I haven't tried it much, it seems that the creation of unnecessary buttons can be suppressed by changing part of the above code as follows.

if (replace_preview_btn==null) {
    replace_preview_btn = document.createElement("a");   
    additional_node.prepend(replace_preview_btn); // <-
}

It worked like a charm! Thank you!!!

suonnon commented 1 year ago

The other issue is this plugin avoid of loading some SDXL loras , so weird :O

stanleyshek commented 1 year ago

with UI version version: [v1.5.2], this fix doesn't work.

waltercool commented 1 year ago

with UI version version: [v1.5.2], this fix doesn't work.

You need to add all changes described here: https://github.com/axilesoft/Stable-Diffusion-Webui-Civitai-Helper/commit/0a62d3af0abd2e159675a62002f3b6ebefce9f5c

xyzDist commented 1 year ago

I did all change on civitai_helper.js, still no luck...

a1111 version 1.6

BKbrentz commented 1 year ago

According to the readme.md, perhaps you used the bilingual-localization and your a1111 version under 1.6.1, disable the bilingual-localization extension ,then it works.

企业微信截图_16944901729123
butaixianran commented 1 year ago

Done, check new version. Also there is a fork keeps catching up with latest sd webui. https://github.com/zixaphir/Stable-Diffusion-Webui-Civitai-Helper

MrSwamps commented 1 year ago

Sorry, I'm not a programmer, how do I implement this fix?