diff --git a/__init__.py b/__init__.py index e962ac1..b96e102 100644 --- a/__init__.py +++ b/__init__.py @@ -1629,7 +1629,7 @@ async def process_loras(request): settings[setting_id] = False PromptServer.instance.user_manager.settings.save_settings(request, settings) refresh_setting = settings.get("LoRA Sidebar.General.refreshAll") - logger.error(f"Current refresh setting value: {refresh_setting}") + logger.info(f"Current refresh setting value: {refresh_setting}") # disable the refresh all setting after processing diff --git a/web/lora_sidebar.js b/web/lora_sidebar.js index 9dbd02d..37c39c8 100644 --- a/web/lora_sidebar.js +++ b/web/lora_sidebar.js @@ -890,11 +890,11 @@ class LoraSidebar { try { // Reduce count to total loras we're dealing with let totalLoras = this.filteredData.length - console.error("Total Loras:",totalLoras); - console.error("Count:",count); + debug.log("Total Loras:",totalLoras); + debug.log("Count:",count); if (count > totalLoras) { count = totalLoras; - console.error("Batch larger than LoRA list, setting size to",count); + debug.log("Batch larger than LoRA list, setting size to",count); } if (startIndex === 0) { @@ -1785,7 +1785,7 @@ class LoraSidebar { // Now that we have the versionId, proceed to refresh with /refresh/{version_id} debug.log(`Refreshing LoRA with version ID: ${versionId}`); - console.error("Looking for LoRA:", { + debug.log("Looking for LoRA:", { searchVersionId: versionId, searchId: lora.id, matchingLoras: this.loraData.filter(l => @@ -2151,10 +2151,10 @@ class LoraSidebar { } } else if (node.type === "Power Lora Loader (rgthree)") { - console.error("Starting update with data:", loraData); + debug.log("Starting update with data:", loraData); const widget = node.addNewLoraWidget(); - console.error("Created widget:", widget); + debug.log("Created widget:", widget); const weight = loraData.reco_weight ?? 1; const loraPath = `${loraData.subdir}${loraData.subdir ? '\\' : ''}${filename}`;