Skip to content

Commit 2570952

Browse files
committed
更新V0.0.51
更新V0.0.51
1 parent e59ecd0 commit 2570952

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
> 最新更新:2025-04-28
3232
33-
> 0.0.50 公测版本介绍 如果你要使用本插件请务必进我们的官方 QQ 群(1018231382)!
33+
> 0.0.51 公测版本介绍 如果你要使用本插件请务必进我们的官方 QQ 群(1018231382)!
3434
>
3535
> 1. 新增功能:Lora详细界面内可以自定义自己的字段
3636
>

README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Due to limited personal time, the frequency of updating plug-ins will not be ver
2626

2727
> Last updated: 2025-04-28
2828
29-
> 0.0.50 Public Beta Version Introduction: If you want to use this plugin, please be sure to join our official QQ group (1018231382)!
29+
> 0.0.51 Public Beta Version Introduction: If you want to use this plugin, please be sure to join our official QQ group (1018231382)!
3030
>
3131
> 1. New feature: Within the Lora detailed interface, you can customize your own fields
3232
>

__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,9 @@ def load_lora_ing(self, positive="",lora_str="",temp_str="",temp_lora_str="", op
141141
strength_clip = float(str_lora_item["text_encoder_weight"])
142142
print("模型权重strength_model:",strength_model,"文本权重strength_clip:",strength_clip)
143143

144-
# 安全处理文件名中的特殊字符
145144
lora_path = folder_paths.get_full_path("loras", str_lora_item["lora"])
146145
if lora_path == None:
147-
raise ValueError(f"无法找到Lora文件: {str_lora_item["lora"]}")
146+
raise ValueError(f'无法找到Lora文件: {str_lora_item["lora"]}')
148147
print("加载Lora lora_path:",lora_path)
149148
lora = None
150149
if self.loaded_loraA is not None:
@@ -225,10 +224,9 @@ def load_lora_ing(self, clip=None, model=None, lora_str="", temp_lora_str=""):
225224
strength_clip = float(str_lora_item["text_encoder_weight"])
226225
print("模型权重strength_model:",strength_model,"文本权重strength_clip:",strength_clip)
227226

228-
# 安全处理文件名中的特殊字符
229227
lora_path = folder_paths.get_full_path("loras", str_lora_item["lora"])
230228
if lora_path == None:
231-
raise ValueError(f"无法找到Lora文件: {str_lora_item["lora"]}")
229+
raise ValueError(f'无法找到Lora文件: {str_lora_item["lora"]}')
232230
print("加载Lora lora_path:",lora_path)
233231
lora = None
234232
if self.loaded_loraA is not None:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "weilin-comfyui-tools"
33
description = "让你在 ComfyUI 中快捷的使用提示词工具 Quickly use the prompt word tool in ComfyUI"
4-
version = "0.0.50"
4+
version = "0.0.51"
55
license = {file = "LICENSE"}
66
dependencies = []
77

0 commit comments

Comments
 (0)