update ui config

This commit is contained in:
Vladimir Mandic
2023-04-13 08:29:01 -04:00
parent 4f2b7268ca
commit a27e95ab31
5 changed files with 859 additions and 1448 deletions
+1
View File
@@ -2,6 +2,7 @@
__pycache__
/params.txt
/cache.json
/config.json
/setup.log
venv
+1 -1
View File
@@ -231,7 +231,7 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), {
"sd_vae_as_default": OptionInfo(True, "Ignore selected VAE for stable diffusion checkpoints that have their own .vae.pt next to them"),
"inpainting_mask_weight": OptionInfo(1.0, "Inpainting conditioning mask strength", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
"initial_noise_multiplier": OptionInfo(1.0, "Noise multiplier for img2img", gr.Slider, {"minimum": 0.5, "maximum": 1.5, "step": 0.01}),
"img2img_color_correction": OptionInfo(True, "Apply color correction to img2img results to match original colors."),
"img2img_color_correction": OptionInfo(False, "Apply color correction to img2img results to match original colors."),
"img2img_fix_steps": OptionInfo(False, "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising)."),
"img2img_background_color": OptionInfo("#ffffff", "With img2img, fill image's transparent parts with this color.", ui_components.FormColorPicker, {}),
"enable_quantization": OptionInfo(True, "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply."),
+851 -1441
View File
File diff suppressed because it is too large Load Diff
+5 -5
View File
@@ -61,8 +61,8 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr
.gradio-slider input[type="number"] { width: 4.5em; font-size: 0.8rem; }
/* automatic style classes */
.progressDiv { border-radius: 0 !important; position: fixed; top: 308px; right: 30px; max-width: 248px; height: 36px; }
.progressDiv .progress { border-radius: 0 !important; background: var(--highlight-color); line-height: 2.1rem; height: 36px; }
.progressDiv { border-radius: 0 !important; position: fixed; top: 356px; right: 26px; max-width: 262px; height: 48px; z-index: 99; }
.progressDiv .progress { border-radius: 0 !important; background: var(--highlight-color); line-height: 3rem; height: 48px; }
.gallery-item { box-shadow: none !important; }
.performance { color: #888; }
.modalControls { background-color: #4E1400; }
@@ -88,8 +88,8 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr
#txt2img_checkboxes, #img2img_checkboxes { background-color: transparent; }
#txt2img_checkboxes, #img2img_checkboxes { margin-bottom: 0.2em; }
#txt2img_gallery, #img2img_gallery, #extras_gallery { background: black !important; padding: 0; margin: 0; object-fit: contain; box-shadow: none; min-height: 0; }
#txt2img_generate, #img2img_generate { margin-left: 10px; height: 36px; border: none; border-radius: 0; min-height: 36px; padding: 0; }
#txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { margin-left: 10px; height: 36px; min-width: 116px; max-width: 116px; border: none; border-radius: 0; background-color: var(--inactive-color); margin-top: 46px; display: block !important; padding: 0; }
#txt2img_generate, #img2img_generate { height: 36px; border: none; border-radius: 0; min-height: 36px; padding: 0; }
#txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { height: 36px; min-width: 116px; max-width: 116px; border: none; border-radius: 0; background-color: var(--inactive-color); margin-top: 46px; display: block !important; padding: 0; }
#txt2img_progress_row > div { min-width: var(--left-column); max-width: var(--left-column); }
#txt2img_results, #img2img_results, #extras_results { background-color: black; padding: 0; }
#txt2img_seed_row { padding: 0; margin-top: 8px; }
@@ -97,7 +97,7 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr
#txt2img_subseed_row { padding: 0; margin-top: 16px; }
#txt2img_subseed_show { min-width: 74px; padding: 8px 0 0 0 }
#txt2img_subseed_strength { margin-top: 0; }
#txt2img_tools, #img2img_tools { margin-top: 54px; scale: 120%; margin-left: 32px; gap: 5px; max-width: 210px; }
#txt2img_tools, #img2img_tools { margin-top: 54px; scale: 120%; margin-left: 26px; }
#txtimg_hr_finalres { max-width: 200px; }
/* custom elements overrides */