fix xyz with lora none

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-12-21 10:56:24 -05:00
parent 8924e5bc5d
commit c3f02f11e4
4 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -198,12 +198,12 @@ def list_lora():
def apply_lora(p, x, xs):
p.all_prompts = None
p.all_negative_prompts = None
if x == 'None':
return
x = os.path.basename(x)
p.prompt = p.prompt + f" <lora:{x}:{shared.opts.extra_networks_default_multiplier}>"
p.all_prompts = None
p.all_negative_prompts = None
shared.log.debug(f'XYZ grid apply LoRA: "{x}"')