From a64130c71c91e361b6301e97c6028cbfd4fa2f30 Mon Sep 17 00:00:00 2001 From: Tony Ribeiro Date: Tue, 15 Aug 2023 21:35:07 +0200 Subject: [PATCH] Remove toastr error for character without RVC model assigned, just show it in console info to allow group chat with/withou RVC per character. --- public/scripts/extensions/rvc/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/extensions/rvc/index.js b/public/scripts/extensions/rvc/index.js index 7764cf816..90dbc12c3 100644 --- a/public/scripts/extensions/rvc/index.js +++ b/public/scripts/extensions/rvc/index.js @@ -289,8 +289,8 @@ async function rvcVoiceConversion(response, character) { // Check voice map if (extension_settings.rvc.voiceMap[character] === undefined) { - toastr.error("No model is assigned to character '"+character+"', check RVC voice map in the extension menu.", DEBUG_PREFIX+'RVC Voice map error', { timeOut: 10000, extendedTimeOut: 20000, preventDuplicates: true }); - console.error("No RVC model assign in voice map for current character "+character); + //toastr.error("No model is assigned to character '"+character+"', check RVC voice map in the extension menu.", DEBUG_PREFIX+'RVC Voice map error', { timeOut: 10000, extendedTimeOut: 20000, preventDuplicates: true }); + console.info(DEBUG_PREFIX,"No RVC model assign in voice map for current character "+character); return response; }