diff --git a/README.md b/README.md index ee0df19ee..4a34b9d60 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Fork is as close as up-to-date with origin as time allows All code changes are merged upstream whenever possible Fork adds extra functionality: +- New skin and UI layout - Ships with additional **extensions** e.g. `System Info`, `Steps Animation`, etc. - Ships with set of **CLI** tools that rely on *SD API* for execution: @@ -41,6 +42,10 @@ Simplified start script: `automatic.sh` - Start with all optimizations disabled Use this for troubleshooting +> ./automatic.sh install + +- Install dependencies *and* refresh extensions +
## Install @@ -49,6 +54,7 @@ Simplified start script: `automatic.sh` 2. Clone and initialize repository > git clone --depth 1 https://github.com/vladmandic/automatic +> cd automatic > git submodule update --init --recursive 3. Install dependencies diff --git a/cli/modules/preview-models.py b/cli/modules/preview-models.py index 7815097bc..ba2ec83d2 100755 --- a/cli/modules/preview-models.py +++ b/cli/modules/preview-models.py @@ -44,11 +44,11 @@ options = Map({ "sd_vae": "vae-ft-mse-840000-ema-pruned.ckpt", }, 'lora': { - 'strength': 0.9, + 'strength': 1.3, }, 'hypernetwork': { 'keyword': 'beautiful sexy woman', - 'strength': 0.9, + 'strength': 1.0, }, }) diff --git a/config.json b/config.json index 3acf810ab..2610c92f7 100644 --- a/config.json +++ b/config.json @@ -34,7 +34,7 @@ "eta_ddim": 0.0, "eta_noise_seed_delta": 0, "export_for_4chan": false, - "extra_networks_default_multiplier": 0.9, + "extra_networks_default_multiplier": 1, "extra_networks_default_view": "cards", "face_restoration_model": "CodeFormer", "face_restoration_unload": false, @@ -190,5 +190,6 @@ "image_browser_page_rows": 20.0, "image_browser_pages_perload": 20.0, "image_browser_mod_shift": false, - "image_browser_mod_ctrl_shift": false + "image_browser_mod_ctrl_shift": false, + "hidden_tabs": "custom diffusion utils" } \ No newline at end of file diff --git a/extensions-builtin/stable-diffusion-webui-images-browser b/extensions-builtin/stable-diffusion-webui-images-browser index c25e8a73f..c8efd351a 160000 --- a/extensions-builtin/stable-diffusion-webui-images-browser +++ b/extensions-builtin/stable-diffusion-webui-images-browser @@ -1 +1 @@ -Subproject commit c25e8a73f3676b197c2c0bd37f7d493d108e521d +Subproject commit c8efd351af0b1fcb8dad00df2af941b106b70d5e diff --git a/modules/shared.py b/modules/shared.py index 79fbf7249..ded289252 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -455,6 +455,7 @@ options_templates.update(options_section(('ui', "User interface"), { "keyedit_precision_attention": OptionInfo(0.1, "Ctrl+up/down precision when editing (attention:1.1)", gr.Slider, {"minimum": 0.01, "maximum": 0.2, "step": 0.001}), "keyedit_precision_extra": OptionInfo(0.05, "Ctrl+up/down precision when editing ", gr.Slider, {"minimum": 0.01, "maximum": 0.2, "step": 0.001}), "quicksettings": OptionInfo("sd_model_checkpoint", "Quicksettings list"), + "hidden_tabs": OptionInfo("", "Hidden UI tabs"), "ui_reorder": OptionInfo(", ".join(ui_reorder_categories), "txt2img/img2img UI item order"), "ui_extra_networks_tab_reorder": OptionInfo("", "Extra networks tab order"), "localization": OptionInfo("None", "Localization (requires restart)", gr.Dropdown, lambda: {"choices": ["None"] + list(localization.localizations.keys())}, refresh=lambda: localization.list_localizations(cmd_opts.localizations_dir)), diff --git a/modules/ui.py b/modules/ui.py index 32d49e10d..23e9e470d 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1575,7 +1575,10 @@ def create_ui(): parameters_copypaste.connect_paste_params_buttons() with gr.Tabs(elem_id="tabs") as tabs: + hidden_tabs = [x.lower().strip() for x in shared.opts.hidden_tabs.split(",")] for interface, label, ifid in interfaces: + if label.lower() in hidden_tabs: + continue with gr.TabItem(label, id=ifid, elem_id='tab_' + ifid): interface.render() diff --git a/ui-screenshot.jpg b/ui-screenshot.jpg index b23a2b316..6cf9e28ab 100644 Binary files a/ui-screenshot.jpg and b/ui-screenshot.jpg differ diff --git a/user.css b/user.css index f8f25958b..4783bbbf9 100644 --- a/user.css +++ b/user.css @@ -66,7 +66,7 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr #txt2img_cfg_scale { min-width: 200px; } #txt2img_checkboxes, #img2img_checkboxes { background-color: transparent; } #txt2img_checkboxes, #img2img_checkboxes { margin-bottom: 0.2em; } -#txt2img_gallery, #img2img_gallery, #extras_gallery { background: black; padding: 0; margin: 0; object-fit: contain; box-shadow: none; } +#txt2img_gallery, #img2img_gallery, #extras_gallery { background: black; padding: 0; margin: 0; object-fit: contain; box-shadow: none; min-height: 0; } #txt2img_generate, #img2img_generate, #txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { margin-left: 10px; min-height: 2rem; height: 2rem; max-width: 212px; margin-top: 15px; border: none; border-radius: 0; } #txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { background-color: var(--inactive-color); } #txt2img_neg_prompt > label > textarea { font-size: 1.2rem; background-color: black } @@ -86,3 +86,7 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr /* custom elements overrides */ #steps-animation { border-width: 0; } + +#txt2img_gallery, #img2img_gallery { + min-height: 718px; +} \ No newline at end of file