Skip to content

Commit 0f2b8dd

Browse files
Merge branch 'main' into scaled-aspect-ratio
2 parents 9caa2a2 + ba2ce72 commit 0f2b8dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

invokeai/backend/install/invokeai_configure.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def create(self):
507507
scroll_exit=True,
508508
)
509509
else:
510-
self.vram_cache_size = DummyWidgetValue.zero
510+
self.vram = DummyWidgetValue.zero
511511
self.nextrely += 1
512512
self.outdir = self.add_widget_intelligent(
513513
FileBox,
@@ -605,7 +605,8 @@ def marshall_arguments(self):
605605
"vram",
606606
"outdir",
607607
]:
608-
setattr(new_opts, attr, getattr(self, attr).value)
608+
if hasattr(self, attr):
609+
setattr(new_opts, attr, getattr(self, attr).value)
609610

610611
for attr in self.autoimport_dirs:
611612
directory = Path(self.autoimport_dirs[attr].value)

0 commit comments

Comments
 (0)