textgen-models.js: update for new popup

5e4c570eb07e561ccd2d67f8d23b98a1be5a17aa

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

1 files changed, +2 -2Ignore whitespace
public/scripts/textgen-models.js+2 -2
@@ -1,6 +1,6 @@
11import { DOMPurify } from '../lib.js';
22import { isMobile } from './RossAscends-mods.js';
33import { amount_gen, callPopup, eventSource, event_types, getRequestHeaders, max_context, online_status, setGenerationParamsFromPreset } from '../script.js';
44import { textgenerationwebui_settings as textgen_settings, textgen_types } from './textgen-settings.js';
55import { tokenizers } from './tokenizers.js';
66import { renderTemplateAsync } from './templates.js';
@@ -761,7 +761,7 @@ async function downloadOllamaModel() {
761761
762762 const html = `Enter a model tag, for example <code>llama2:latest</code>.<br>
763763 See <a target="_blank" href="https://ollama.ai/library">Library</a> for available models.`;
764764 const name = await callPopupcallGenericPopup(html, 'input'POPUP_TYPE.INPUT, '', { okButton: 'Download' });
765765
766766 if (!name) {
767767 return;