SD: Add prompt expansion warning. Disable quantization

3f026aea15b6181fac5edb1bc12ee39424981db2

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +3 -2Ignore whitespace
public/scripts/extensions/stable-diffusion/settings.html+2 -1
@@ -29,7 +29,8 @@
2929 </label>
3030 <label for="sd_expand" class="checkbox_label" data-i18n="[title]sd_expand" title="Automatically extend prompts using text generation model">
3131 <input id="sd_expand" type="checkbox" />
3232 <span data-i18n="sd_expand_txt">Auto-enhanceextend prompts</span>
33+ <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>
3334 </label>
3435 <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).">
3536 <input id="sd_snap" type="checkbox" />
src/transformers.mjs+1 -1
@@ -35,7 +35,7 @@ const tasks = {
3535 defaultModel: 'Cohee/fooocus_expansion-onnx',
3636 pipeline: null,
3737 configField: 'extras.promptExpansionModel',
3838 quantized: truefalse,
3939 },
4040 'automatic-speech-recognition': {
4141 defaultModel: 'Xenova/whisper-small',