add UniPC options to infotext

This commit is contained in:
AUTOMATIC
2023-03-11 12:09:36 +03:00
parent f261a4a53c
commit 58b5b7c2f1
3 changed files with 30 additions and 1 deletions

View File

@@ -563,6 +563,15 @@ class Options:
return True
def get_default(self, key):
"""returns the default value for the key"""
data_label = self.data_labels.get(key)
if data_label is None:
return None
return data_label.default
def save(self, filename):
assert not cmd_opts.freeze_settings, "saving settings is disabled"