UI: Do not save unchanged settings to settings.yaml
This commit is contained in:
parent
038b4fc8af
commit
53dc1d8197
2 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
import argparse
|
||||
import copy
|
||||
import os
|
||||
import sys
|
||||
from collections import OrderedDict
|
||||
|
@ -65,6 +66,7 @@ settings = {
|
|||
'default_extensions': ['gallery'],
|
||||
}
|
||||
|
||||
default_settings = copy.deepcopy(settings)
|
||||
|
||||
# Parser copied from https://github.com/vladmandic/automatic
|
||||
parser = argparse.ArgumentParser(description="Text generation web UI", conflict_handler='resolve', add_help=True, formatter_class=lambda prog: argparse.HelpFormatter(prog, max_help_position=55, indent_increment=2, width=200))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue