aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authoryfszzx <yfszzx@gmail.com>2022-10-17 15:20:16 +0800
committeryfszzx <yfszzx@gmail.com>2022-10-17 15:20:16 +0800
commit5b1394bead93e5485ced5de10f1c000eea4458c6 (patch)
treec9e9974fd9c5e0d2bc0da906b4b9b128ae24022a /modules/shared.py
parenta4de699e3c235d83b5a957d08779cb41cb0781bc (diff)
parentc57919ea2a8e4a23a05d21f28928e08bbf34c59e (diff)
speed up images history perfect
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index dcab0af9..72513f86 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -299,6 +299,12 @@ options_templates.update(options_section(('sampler-params', "Sampler parameters"
'eta_noise_seed_delta': OptionInfo(0, "Eta noise seed delta", gr.Number, {"precision": 0}),
}))
+options_templates.update(options_section(('images-history', "Images history"), {
+ "images_history_reconstruct_directory": OptionInfo(False, "Reconstruct output directory structure.This can greatly improve the speed of loading , but will change the original output directory structure"),
+ "images_history_num_per_page": OptionInfo(36, "Number of pictures displayed on each page"),
+ "images_history_pages_num": OptionInfo(6, "Maximum number of pages per load "),
+
+}))
class Options:
data = None