Merge branch 'SillyTavern:staging' into staging
This commit is contained in:
commit
05504ebbb2
|
@ -5,7 +5,7 @@ TODO:
|
|||
*/
|
||||
|
||||
import { saveSettingsDebounced } from "../../../script.js";
|
||||
import { getContext, getApiUrl, extension_settings, doExtrasFetch, ModuleWorkerWrapper } from "../../extensions.js";
|
||||
import { getContext, getApiUrl, extension_settings, doExtrasFetch, ModuleWorkerWrapper, modules } from "../../extensions.js";
|
||||
export { MODULE_NAME, rvcVoiceConversion};
|
||||
|
||||
const MODULE_NAME = 'RVC';
|
||||
|
@ -340,7 +340,7 @@ async function rvcVoiceConversion(response, character) {
|
|||
async function moduleWorker() {
|
||||
updateCharactersList();
|
||||
|
||||
if (rvcModelsList.length == 0) {
|
||||
if (modules.includes('rvc') && rvcModelsList.length == 0) {
|
||||
let result = await get_models_list();
|
||||
result = await result.json();
|
||||
rvcModelsList = result["models_list"]
|
||||
|
|
Loading…
Reference in New Issue