Caption: fix displaying secondary endpoint for unsupported sources

303c1dcf140b23d87d49c6451c6d9889694ce842

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

1 files changed, +10 -10Ignore whitespace
public/scripts/extensions/caption/settings.html+10 -10
@@ -188,16 +188,16 @@
188 <div class="flexBasis100p m-b-1">188 <div class="flexBasis100p m-b-1">
189 <small><b data-i18n="Hint:">Hint:</b> <span data-i18n="Set your API keys and endpoints in the 'API Connections' tab first.">Set your API keys and endpoints in the 'API Connections' tab first.</span></small>189 <small><b data-i18n="Hint:">Hint:</b> <span data-i18n="Set your API keys and endpoints in the 'API Connections' tab first.">Set your API keys and endpoints in the 'API Connections' tab first.</span></small>
190 </div>190 </div>
191 </div>191 <div data-type="koboldcpp,ollama,vllm,llamacpp,ooba" class="flex-container flexFlowColumn">
192 <div data-type="koboldcpp,ollama,vllm,llamacpp,ooba" class="flex-container flexFlowColumn">192 <label for="caption_altEndpoint_enabled" class="checkbox_label">
193 <label for="caption_altEndpoint_enabled" class="checkbox_label">193 <input id="caption_altEndpoint_enabled" type="checkbox">
194 <input id="caption_altEndpoint_enabled" type="checkbox">194 <span data-i18n="Use secondary URL">Use secondary URL</span>
195 <span data-i18n="Use secondary URL">Use secondary URL</span>195 </label>
196 </label>196 <label for="caption_altEndpoint_url" data-i18n="Secondary captioning endpoint URL">
197 <label for="caption_altEndpoint_url" data-i18n="Secondary captioning endpoint URL">197 Secondary captioning endpoint URL
198 Secondary captioning endpoint URL198 </label>
199 </label>199 <input id="caption_altEndpoint_url" class="text_pole" type="text" placeholder="e.g. http://localhost:5001" />
200 <input id="caption_altEndpoint_url" class="text_pole" type="text" placeholder="e.g. http://localhost:5001" />200 </div>
201 </div>201 </div>
202 <div id="caption_prompt_block">202 <div id="caption_prompt_block">
203 <label for="caption_prompt" data-i18n="Caption Prompt">Caption Prompt</label>203 <label for="caption_prompt" data-i18n="Caption Prompt">Caption Prompt</label>