Stable Diffusion: finer LoRA strength steps, collapsible reference image library

0fd5bf93c5287da103e9ef859fea7bf483b164fe

permissionBRICK <40219477+permissionBRICK@users.noreply.github.com>

2 files changed, +9 -2Showing whitespace changes
public/scripts/extensions/stable-diffusion/index.js+1 -1
@@ -384,7 +384,7 @@ const defaultSettings = {
384384 lora_strength: 1.0,
385385 lora_strength_min: 0.0,
386386 lora_strength_max: 2.0,
387387 lora_strength_step: 0.0501,
388388
389389 // Per-workflow remembered selections ({ [workflow]: { model, lora } });
390390 // part of preset snapshots, so each chain provider keeps its own map.
public/scripts/extensions/stable-diffusion/settings.html+8 -1
@@ -59,7 +59,12 @@
5959 </label>
6060 <small data-i18n="sd_fallback_enabled_small">When enabled, each generation tries the chain presets top to bottom until one succeeds. Unreachable local backends (e.g. a powered-off ComfyUI machine) are skipped after about a second.</small>
6161 <hr>
62- <h4 data-i18n="Reference Image Library">Reference Image Library</h4>
62+ <div class="inline-drawer">
63+ <div class="inline-drawer-toggle inline-drawer-header">
64+ <b data-i18n="Reference Image Library">Reference Image Library</b>
65+ <div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div>
66+ </div>
67+ <div class="inline-drawer-content">
6368 <label for="sd_ref_images_enabled" class="checkbox_label" data-i18n="[title]sd_ref_images_enabled" title="When the ComfyUI workflow contains a %reference_image% placeholder, the image-prompt LLM picks the best-fitting image from this library and it is passed to the workflow as Base64.">
6469 <input id="sd_ref_images_enabled" type="checkbox" />
6570 <span data-i18n="sd_ref_images_enabled_txt">Use tagged reference images</span>
@@ -73,6 +78,8 @@
7378 </div>
7479 <input id="sd_ref_images_file" type="file" accept="image/png, image/jpeg, image/webp" multiple hidden />
7580 </div>
81+ </div>
82+ </div>
7683 <hr>
7784 <h4 data-i18n="RunPod On-Demand Pod">RunPod On-Demand Pod</h4>
7885 <label for="sd_runpod_lazy_url" data-i18n="Lazy proxy URL">Lazy proxy URL</label>