mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
refactor: only use LoRA activate on handover to async worker, extract method
This commit is contained in:
+1
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user