Remove pollinations refine toggle
| @@ -283,7 +283,6 @@ const defaultSettings = { | ||
| 283 | 283 | |
| 284 | 284 | // Pollinations settings |
| 285 | 285 | pollinations_enhance: false, |
| 286 | - pollinations_refine: false, | |
| 287 | 286 | |
| 288 | 287 | // Visibility toggles |
| 289 | 288 | wand_visible: false, |
| @@ -425,7 +424,6 @@ async function loadSettings() { | ||
| 425 | 424 | $('#sd_novel_sm_dyn').prop('disabled', !extension_settings.sd.novel_sm); |
| 426 | 425 | $('#sd_novel_decrisper').prop('checked', extension_settings.sd.novel_decrisper); |
| 427 | 426 | $('#sd_pollinations_enhance').prop('checked', extension_settings.sd.pollinations_enhance); |
| 428 | - $('#sd_pollinations_refine').prop('checked', extension_settings.sd.pollinations_refine); | |
| 429 | 427 | $('#sd_horde').prop('checked', extension_settings.sd.horde); |
| 430 | 428 | $('#sd_horde_nsfw').prop('checked', extension_settings.sd.horde_nsfw); |
| 431 | 429 | $('#sd_horde_karras').prop('checked', extension_settings.sd.horde_karras); |
| @@ -1009,11 +1007,6 @@ function onPollinationsEnhanceInput() { | ||
| 1009 | 1007 | saveSettingsDebounced(); |
| 1010 | 1008 | } |
| 1011 | 1009 | |
| 1012 | -function onPollinationsRefineInput() { | |
| 1013 | - extension_settings.sd.pollinations_refine = !!$('#sd_pollinations_refine').prop('checked'); | |
| 1014 | - saveSettingsDebounced(); | |
| 1015 | -} | |
| 1016 | - | |
| 1017 | 1010 | function onHordeNsfwInput() { |
| 1018 | 1011 | extension_settings.sd.horde_nsfw = !!$(this).prop('checked'); |
| 1019 | 1012 | saveSettingsDebounced(); |
| @@ -2740,7 +2733,6 @@ async function generatePollinationsImage(prompt, negativePrompt, signal) { | ||
| 2740 | 2733 | width: extension_settings.sd.width, |
| 2741 | 2734 | height: extension_settings.sd.height, |
| 2742 | 2735 | enhance: extension_settings.sd.pollinations_enhance, |
| 2743 | - refine: extension_settings.sd.pollinations_refine, | |
| 2744 | 2736 | seed: extension_settings.sd.seed >= 0 ? extension_settings.sd.seed : undefined, |
| 2745 | 2737 | }), |
| 2746 | 2738 | }); |
| @@ -3887,7 +3879,6 @@ jQuery(async () => { | ||
| 3887 | 3879 | $('#sd_novel_sm_dyn').on('input', onNovelSmDynInput); |
| 3888 | 3880 | $('#sd_novel_decrisper').on('input', onNovelDecrisperInput); |
| 3889 | 3881 | $('#sd_pollinations_enhance').on('input', onPollinationsEnhanceInput); |
| 3890 | - $('#sd_pollinations_refine').on('input', onPollinationsRefineInput); | |
| 3891 | 3882 | $('#sd_comfy_validate').on('click', validateComfyUrl); |
| 3892 | 3883 | $('#sd_comfy_url').on('input', onComfyUrlInput); |
| 3893 | 3884 | $('#sd_comfy_workflow').on('change', onComfyWorkflowChange); |
| @@ -184,18 +184,12 @@ | ||
| 184 | 184 | <a href="https://pollinations.ai">Pollinations.ai</a> |
| 185 | 185 | </p> |
| 186 | 186 | <div class="flex-container"> |
| 187 | 187 | <label class="flex1 checkbox_label" for="sd_pollinations_enhance" title="Enables prompt enhancing (passes prompts through an LLM to add detail)."> |
| 188 | 188 | <input id="sd_pollinations_enhance" type="checkbox" /> |
| 189 | 189 | <span data-i18n="Enhance"> |
| 190 | 190 | Enhance |
| 191 | 191 | </span> |
| 192 | 192 | </label> |
| 193 | - <label class="flex1 checkbox_label" for="sd_pollinations_refine"> | |
| 194 | - <input id="sd_pollinations_refine" type="checkbox" /> | |
| 195 | - <span data-i18n="Refine"> | |
| 196 | - Refine | |
| 197 | - </span> | |
| 198 | - </label> | |
| 199 | 193 | </div> |
| 200 | 194 | </div> |
| 201 | 195 | <div data-sd-source="stability"> |
| @@ -844,7 +844,6 @@ pollinations.post('/generate', jsonParser, async (request, response) => { | ||
| 844 | 844 | negative_prompt: String(request.body.negative_prompt), |
| 845 | 845 | seed: String(request.body.seed >= 0 ? request.body.seed : Math.floor(Math.random() * 10_000_000)), |
| 846 | 846 | enhance: String(request.body.enhance ?? false), |
| 847 | - refine: String(request.body.refine ?? false), | |
| 848 | 847 | width: String(request.body.width ?? 1024), |
| 849 | 848 | height: String(request.body.height ?? 1024), |
| 850 | 849 | nologo: String(true), |