mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-04-03 05:31:14 +02:00
Reduce unnecessary console spam
This commit is contained in:
parent
1fa281b03c
commit
99c3a09b8e
@ -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';
|
||||||
@ -339,7 +339,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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user