Open Wallachia opened 1 year ago
🥰 需求描述 | 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.
🥰 需求描述 | 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