diff --git a/public/scripts/textgen-models.js b/public/scripts/textgen-models.js index c1226f493..23e6019dc 100644 --- a/public/scripts/textgen-models.js +++ b/public/scripts/textgen-models.js @@ -1,6 +1,6 @@ import { DOMPurify } from '../lib.js'; import { isMobile } from './RossAscends-mods.js'; -import { amount_gen, callPopup, eventSource, event_types, getRequestHeaders, max_context, online_status, setGenerationParamsFromPreset } from '../script.js'; +import { amount_gen, eventSource, event_types, getRequestHeaders, max_context, online_status, setGenerationParamsFromPreset } from '../script.js'; import { textgenerationwebui_settings as textgen_settings, textgen_types } from './textgen-settings.js'; import { tokenizers } from './tokenizers.js'; import { renderTemplateAsync } from './templates.js'; @@ -761,7 +761,7 @@ async function downloadOllamaModel() { const html = `Enter a model tag, for example llama2:latest.
See Library for available models.`; - const name = await callPopup(html, 'input', '', { okButton: 'Download' }); + const name = await callGenericPopup(html, POPUP_TYPE.INPUT, '', { okButton: 'Download' }); if (!name) { return;