From 62948a8c5deada0bf851899da2fd8513d2246cd3 Mon Sep 17 00:00:00 2001 From: AlekPet Date: Fri, 29 Aug 2025 20:14:23 +0300 Subject: [PATCH] update + Speech & Recognation extension is disabled by default due to a bug with multi-line fields + Update version --- ExtrasNode/js/extras_speech_and_recognition.js | 12 ++++++++++-- pyproject.toml | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ExtrasNode/js/extras_speech_and_recognition.js b/ExtrasNode/js/extras_speech_and_recognition.js index ecd1a0b..a3cad19 100644 --- a/ExtrasNode/js/extras_speech_and_recognition.js +++ b/ExtrasNode/js/extras_speech_and_recognition.js @@ -24,9 +24,10 @@ const SpeechAndRecognationSpeechLS = localStorage.getItem( ); // Settings set values from LS or default for Speech & Recognition widget settings +// Default Off: https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet/issues/166#issuecomment-3107129457 let SpeechAndRecognationSpeech = SpeechAndRecognationSpeechLS ? JSON.parse(SpeechAndRecognationSpeechLS) - : true, + : false, SpeechAndRecognationSpeechSaveAs = JSON.parse( localStorage.getItem(`${idExt}.SpeechAndRecognationSpeechSaveAs`), false @@ -46,7 +47,7 @@ app.registerExtension({ app.ui.settings.addSetting({ id: `${idExt}.SpeechAndRecognationSpeech`, name: "🔸 Speak text & Recognition speech", - defaultValue: true, + defaultValue: false, type: (name, sett, val) => { const newUI = document.querySelector(".p-dialog-header"); return $el("tr", [ @@ -61,6 +62,13 @@ app.registerExtension({ ]) : "", $el("td", [ + $el("a", { + href: "https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet/issues/166#issuecomment-3107129457", + title: "Causes a bug with multiline fields", + target: "_blank", + textContent: "Bug with multiline fields 🐞", + style: { textDecoration: "none" }, + }), $el( "label", { diff --git a/pyproject.toml b/pyproject.toml index 306f299..6e47f4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_custom_nodes_alekpet" description = "Nodes: PoseNode, PainterNode, TranslateTextNode, TranslateCLIPTextEncodeNode, DeepTranslatorTextNode, DeepTranslatorCLIPTextEncodeNode, ArgosTranslateTextNode, ArgosTranslateCLIPTextEncodeNode, ChatGLM4TranslateCLIPTextEncodeNode, ChatGLM4TranslateTextNode, ChatGLM4InstructNode, ChatGLM4InstructMediaNode, PreviewTextNode, HexToHueNode, ColorsCorrectNode, IDENode." -version = "1.0.82" +version = "1.0.83" license = { file = "LICENSE" } [project.urls]