aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-01-18 23:04:24 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-01-18 23:04:24 +0300
commit924e222004ab54273806c5f2ca7a0e7cfa76ad83 (patch)
tree153a08105ee2bc87df43a8a1423df96d25a8e19b /modules/shared.py
parent889b851a5260ce869a3286ad15d17d1bbb1da0a7 (diff)
add option to show/hide warnings
removed hiding warnings from LDSR fixed/reworked few places that produced warnings
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index a708f23c..ddb97f99 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -369,6 +369,7 @@ options_templates.update(options_section(('face-restoration', "Face restoration"
}))
options_templates.update(options_section(('system', "System"), {
+ "show_warnings": OptionInfo(False, "Show warnings in console."),
"memmon_poll_rate": OptionInfo(8, "VRAM usage polls per second during generation. Set to 0 to disable.", gr.Slider, {"minimum": 0, "maximum": 40, "step": 1}),
"samples_log_stdout": OptionInfo(False, "Always print all generation info to standard output"),
"multiple_tqdm": OptionInfo(True, "Add a second progress bar to the console that shows progress for an entire job."),