SD horde options side by side, and clarified.

This commit is contained in:
RossAscends
2023-05-17 22:41:28 +09:00
parent c48af795da
commit c70e1d306d
2 changed files with 15 additions and 9 deletions

View File

@ -637,17 +637,19 @@ jQuery(async () => {
<div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div> <div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div>
</div> </div>
<div class="inline-drawer-content"> <div class="inline-drawer-content">
<small><i>Use slash commands to generate images. Type <span class="monospace">/help</span> in chat for more details</i></small> <small><i>Use slash commands or the bottom Paintbrush buttron to generate images. Type <span class="monospace">/help</span> in chat for more details</i></small>
<br> <br>
<small><i>Hint: Save an API key in Horde KoboldAI API settings to use it here.</i></small> <small><i>Hint: Save an API key in Horde KoboldAI API settings to use it here.</i></small>
<label class="checkbox_label"> <div class="flex-container flexGap5 marginTop10 margin-bot-10px">
<input id="sd_horde" type="checkbox" /> <label class="checkbox_label">
Use Stable Horde <input id="sd_horde" type="checkbox" />
</label> Use Stable Horde
<label style="margin-left:1em;" class="checkbox_label"> </label>
<input id="sd_horde_nsfw" type="checkbox" /> <label style="margin-left:1em;" class="checkbox_label">
Allow NSFW images <input id="sd_horde_nsfw" type="checkbox" />
</label> Allow NSFW images from Horde
</label>
</div>
<label for="sd_scale">CFG Scale (<span id="sd_scale_value"></span>)</label> <label for="sd_scale">CFG Scale (<span id="sd_scale_value"></span>)</label>
<input id="sd_scale" type="range" min="${defaultSettings.scale_min}" max="${defaultSettings.scale_max}" step="${defaultSettings.scale_step}" value="${defaultSettings.scale}" /> <input id="sd_scale" type="range" min="${defaultSettings.scale_min}" max="${defaultSettings.scale_max}" step="${defaultSettings.scale_step}" value="${defaultSettings.scale}" />
<label for="sd_steps">Sampling steps (<span id="sd_steps_value"></span>)</label> <label for="sd_steps">Sampling steps (<span id="sd_steps_value"></span>)</label>

View File

@ -814,6 +814,10 @@ select {
margin-bottom: 10px; margin-bottom: 10px;
} }
.marginTop10 {
margin-top: 10px;
}
#description_textarea, #description_textarea,
#firstmessage_textarea { #firstmessage_textarea {
height: -webkit-fill-available; height: -webkit-fill-available;