mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge branch 'SillyTavern:staging' into staging
This commit is contained in:
@ -5,7 +5,7 @@ TODO:
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { saveSettingsDebounced } from "../../../script.js";
|
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};
|
export { MODULE_NAME, rvcVoiceConversion};
|
||||||
|
|
||||||
const MODULE_NAME = 'RVC';
|
const MODULE_NAME = 'RVC';
|
||||||
@ -340,7 +340,7 @@ async function rvcVoiceConversion(response, character) {
|
|||||||
async function moduleWorker() {
|
async function moduleWorker() {
|
||||||
updateCharactersList();
|
updateCharactersList();
|
||||||
|
|
||||||
if (rvcModelsList.length == 0) {
|
if (modules.includes('rvc') && rvcModelsList.length == 0) {
|
||||||
let result = await get_models_list();
|
let result = await get_models_list();
|
||||||
result = await result.json();
|
result = await result.json();
|
||||||
rvcModelsList = result["models_list"]
|
rvcModelsList = result["models_list"]
|
||||||
|
Reference in New Issue
Block a user