mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
SD: Add prompt expansion warning. Disable quantization
This commit is contained in:
@@ -29,7 +29,8 @@
|
|||||||
</label>
|
</label>
|
||||||
<label for="sd_expand" class="checkbox_label" data-i18n="[title]sd_expand" title="Automatically extend prompts using text generation model">
|
<label for="sd_expand" class="checkbox_label" data-i18n="[title]sd_expand" title="Automatically extend prompts using text generation model">
|
||||||
<input id="sd_expand" type="checkbox" />
|
<input id="sd_expand" type="checkbox" />
|
||||||
<span data-i18n="sd_expand_txt">Auto-enhance prompts</span>
|
<span data-i18n="sd_expand_txt">Auto-extend prompts</span>
|
||||||
|
<span class="right_menu_button fa-solid fa-triangle-exclamation" data-i18n="[title]sd_expand_warning" title="May produce unexpected results. Manual prompt editing is recommended."></span>
|
||||||
</label>
|
</label>
|
||||||
<label for="sd_snap" class="checkbox_label" data-i18n="[title]sd_snap" title="Snap generation requests with a forced aspect ratio (portraits, backgrounds) to the nearest known resolution, while trying to preserve the absolute pixel counts (recommended for SDXL).">
|
<label for="sd_snap" class="checkbox_label" data-i18n="[title]sd_snap" title="Snap generation requests with a forced aspect ratio (portraits, backgrounds) to the nearest known resolution, while trying to preserve the absolute pixel counts (recommended for SDXL).">
|
||||||
<input id="sd_snap" type="checkbox" />
|
<input id="sd_snap" type="checkbox" />
|
||||||
|
@@ -35,7 +35,7 @@ const tasks = {
|
|||||||
defaultModel: 'Cohee/fooocus_expansion-onnx',
|
defaultModel: 'Cohee/fooocus_expansion-onnx',
|
||||||
pipeline: null,
|
pipeline: null,
|
||||||
configField: 'extras.promptExpansionModel',
|
configField: 'extras.promptExpansionModel',
|
||||||
quantized: true,
|
quantized: false,
|
||||||
},
|
},
|
||||||
'automatic-speech-recognition': {
|
'automatic-speech-recognition': {
|
||||||
defaultModel: 'Xenova/whisper-small',
|
defaultModel: 'Xenova/whisper-small',
|
||||||
|
Reference in New Issue
Block a user