mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Fix #3003
This commit is contained in:
parent
40c5722499
commit
333075e726
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user