diff --git a/modules/ui.py b/modules/ui.py index c9f0018..f019bc8 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -143,6 +143,7 @@ def gather_interface_values(*args): if not shared.args.multi_user: shared.persistent_interface_state = output + Path('logs').mkdir(exist_ok=True) with open(Path(f'logs/session_{shared.get_mode()}_autosave.json'), 'w') as f: f.write(json.dumps(output, indent=4))