From 29f0921e10cec64318fefcb08986969bcc14aeea Mon Sep 17 00:00:00 2001 From: Sam Khoze <68170403+SamKhoze@users.noreply.github.com> Date: Tue, 18 Jun 2024 09:01:25 +0530 Subject: [PATCH] Update nodes.py --- nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes.py b/nodes.py index 44f9bbd..b041d87 100644 --- a/nodes.py +++ b/nodes.py @@ -1483,7 +1483,7 @@ class TTS_generation: "audio": ("AUDIO",), }, "optional": { - "llm_response": ("NEW_STRING",), + "llm_response": ("NEW_STRING",{"default":""}), "text": ("STRING",{ "multiline": True, "default": "" @@ -1498,7 +1498,7 @@ class TTS_generation: CATEGORY = "DeepFuze" # Category for the node in the UI - def generate_audio(self, audio,llm_response, text,device,supported_language): + def generate_audio(self, audio, text,device,supported_language,llm_response=""): if not llm_response and not text: raise ValueError("Please provide LLM_response or enter text")