mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
add func for loading dropdown opts for settings
This commit is contained in:
@ -394,7 +394,17 @@ async function loadSettings() {
|
|||||||
toggleSourceControls();
|
toggleSourceControls();
|
||||||
addPromptTemplates();
|
addPromptTemplates();
|
||||||
|
|
||||||
await Promise.all([loadSamplers(), loadModels(), loadSchedulers(), loadVaes(), loadComfyWorkflows()]);
|
await loadSettingOptions();
|
||||||
|
}
|
||||||
|
|
||||||
|
async function loadSettingOptions() {
|
||||||
|
return Promise.all([
|
||||||
|
loadSamplers(),
|
||||||
|
loadModels(),
|
||||||
|
loadSchedulers(),
|
||||||
|
loadVaes(),
|
||||||
|
loadComfyWorkflows()
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function addPromptTemplates() {
|
function addPromptTemplates() {
|
||||||
|
Reference in New Issue
Block a user