mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
fix xyz with lora none
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -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}"')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user