mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Remove tmp code
This commit is contained in:
parent
68f993998a
commit
17ff8196cb
@ -218,8 +218,8 @@ class LoKRLayer(LoRALayerBase):
|
|||||||
|
|
||||||
self.w1 = values.get("lokr_w1", None)
|
self.w1 = values.get("lokr_w1", None)
|
||||||
if self.w1 is None:
|
if self.w1 is None:
|
||||||
self.w1_a = values.get("lokr_w1_a", None)
|
self.w1_a = values["lokr_w1_a"]
|
||||||
self.w1_b = values.get("lokr_w1_b", None)
|
self.w1_b = values["lokr_w1_b"]
|
||||||
else:
|
else:
|
||||||
self.w1_b = None
|
self.w1_b = None
|
||||||
self.w1_a = None
|
self.w1_a = None
|
||||||
|
Loading…
Reference in New Issue
Block a user