mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore: black fix
This commit is contained in:
parent
2a1d7342a7
commit
605e13eac0
@ -29,10 +29,7 @@ def set_seamless(model: Union[UNet2DConditionModel, AutoencoderKL], seamless_axe
|
||||
try:
|
||||
to_restore = []
|
||||
|
||||
#print("try seamless")
|
||||
|
||||
for m_name, m in model.named_modules():
|
||||
|
||||
if isinstance(model, UNet2DConditionModel):
|
||||
if ".attentions." in m_name:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user