refactor: only use LoRA activate on handover to async worker, extract method

This commit is contained in:
Manuel Schmid
2024-03-11 23:49:45 +01:00
parent 532401df76
commit 57a01865b9
5 changed files with 15 additions and 17 deletions
+1 -4
View File
@@ -73,10 +73,7 @@ class StableDiffusionModel:
loras_to_load = []
for enabled, filename, weight in loras:
if not enabled:
continue
for filename, weight in loras:
if filename == 'None':
continue