diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-24 09:28:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 09:28:37 +0300 |
commit | 999929bea4e66384e6cf8da1e2cf833d1fa41053 (patch) | |
tree | 001f71381979e3fcd021dc157003496597e9ccc4 /modules/shared.py | |
parent | edc0c907fa257f70d63dfdbb755e674cea08f4a7 (diff) | |
parent | 68931242cf66ec34d2e911400b9c9b6defc602e0 (diff) |
Merge pull request #3537 from yfszzx/Inspiron
Move out images browser from project
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/shared.py b/modules/shared.py index b55371d3..6541e679 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -80,8 +80,8 @@ parser.add_argument('--vae-path', type=str, help='Path to Variational Autoencode parser.add_argument("--disable-safe-unpickle", action='store_true', help="disable checking pytorch models for malicious code", default=False)
parser.add_argument("--api", action='store_true', help="use api=True to launch the api with the webui")
parser.add_argument("--nowebui", action='store_true', help="use api=True to launch the api instead of the webui")
+parser.add_argument("--ui-debug-mode", action='store_true', help="Don't load model to quickly launch UI")
parser.add_argument("--device-id", type=str, help="Select the default CUDA device to use (export CUDA_VISIBLE_DEVICES=0,1,etc might be needed before)", default=None)
-parser.add_argument("--browse-all-images", action='store_true', help="Allow browsing all images by Image Browser", default=False)
cmd_opts = parser.parse_args()
restricted_opts = [
@@ -320,15 +320,6 @@ 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 Browser"), {
- #"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_preload": OptionInfo(False, "Preload images at startup"),
- "images_history_num_per_page": OptionInfo(36, "Number of pictures displayed on each page"),
- "images_history_pages_num": OptionInfo(6, "Minimum number of pages per load "),
- "images_history_grid_num": OptionInfo(6, "Number of grids in each row"),
-
-}))
-
class Options:
data = None
|