mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-29 10:20:10 +01: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 { 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';
|
||||
@ -339,7 +339,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…
x
Reference in New Issue
Block a user