Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Compatibility issues with civitai helper plugin #432

Open
Wallachia opened this issue Oct 1, 2023 · 1 comment
Open

[Request] Compatibility issues with civitai helper plugin #432

Wallachia opened this issue Oct 1, 2023 · 1 comment
Labels
🌠 Feature Request New feature or request | 特性与建议 Inactive

Comments

@Wallachia
Copy link

🥰 需求描述 | Feature Description

Versions after lobe theme v2.8.8 will cause the function of adding lora prompt words (little light bulb button) of civitai helper to fail.

🧐 解决方案 | Proposed Solution

Fixed this feature in version 3.x which works in 2.8.8

📝 补充信息 | Additional Information

No response

@Wallachia Wallachia added the 🌠 Feature Request New feature or request | 特性与建议 label Oct 1, 2023
@stukkat
Copy link

stukkat commented Oct 2, 2023

🥰 需求描述 | Feature Description
With the regular webUI theme, loading a lora keyword through civitAI helper like this will result in this being printed to console:
Civitai Helper: Load model info of /LOR/1starfieldV2.safetensors 6fdacd1de1c60a833576062d02f232d0cd38a99dc9cec7e37119b6f23c4d7e8e in lora

With LobeUI theme enabled, this is printed to console :
Civitai Helper: Can not find model info file: R:\webUI\models\Lora\, /LOR/1starfieldV2.civitai.info
Civitai Helper: Failed to get model info for lora , /LOR/1starfieldV2.safetensors 6fdacd1de1c60a833576062d02f232d0cd38a99dc9cec7e37119b6f23c4d7e8e

Notably when LobeUI is loaded, there is an extra , in the path to the model info.

🧐 解决方案 | Proposed Solution :
This problem still exists in Version 3.0.10, the fix for this version is below.
Line 1741 of sd-webui-lobe-theme\javascript\main.js
Change
add_trigger_words(event, '${p}', ', ${g}')
to
add_trigger_words(event, '${p}', '${g}')

This resolves the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 Inactive
Projects
None yet
Development

No branches or pull requests

3 participants