diff --git a/js/versions.js b/js/versions.js index e655a24..e7c7b53 100644 --- a/js/versions.js +++ b/js/versions.js @@ -1,14 +1,21 @@ export const versions = { - "version": "0.34.0c", + "version": "0.34.0d", "releaseDate": "2024-10-31", "name": "ComfyUI-Griptape", "description": "Griptape integration for ComfyUI", "author": "Jason Schleifer", "repository": "https://github.com/griptape-ai/ComfyUI-Griptape", "changelog": [ + { + "version": "0.34.0d", + "date": "2024-11-1", + "changes": [ + "fixed import of eleven labs api key", + ] + }, { "version": "0.34.0c", - "date": "2024-11-11", + "date": "2024-11-1", "changes": [ "Updated environment configuration", ] diff --git a/nodes/tasks/gtUITextToSpeechTask.py b/nodes/tasks/gtUITextToSpeechTask.py index bf0153f..2dc1d3f 100644 --- a/nodes/tasks/gtUITextToSpeechTask.py +++ b/nodes/tasks/gtUITextToSpeechTask.py @@ -15,8 +15,6 @@ from ..utilities import load_audio_from_artifact from .gtUIBaseTask import gtUIBaseTask default_prompt = "{{ input_string }}" -settings = GriptapeSettings() -ELEVEN_LABS_API_KEY = settings.get_settings_key_or_use_env("ELEVEN_LABS_API_KEY") class gtUITextToSpeechTask(gtUIBaseTask): @@ -42,6 +40,11 @@ class gtUITextToSpeechTask(gtUIBaseTask): agent = kwargs.get("agent", None) driver = kwargs.get("driver", None) if not driver: + settings = GriptapeSettings() + ELEVEN_LABS_API_KEY = settings.get_settings_key_or_use_env( + "ELEVEN_LABS_API_KEY" + ) + driver = agent.drivers_config.text_to_speech_driver if isinstance(driver, DummyTextToSpeechDriver): driver = ElevenLabsTextToSpeechDriver( diff --git a/pyproject.toml b/pyproject.toml index 16cd07e..71f40b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "comfyui-griptape" -version = "1.0.13" +version = "1.0.14" description = "Griptape LLM(Large Language Model) Nodes for ComfyUI." authors = ["Jason Schleifer "] readme = "README.md" @@ -26,7 +26,7 @@ priority = "explicit" [project] name = "comfyui-griptape" description = "Griptape LLM(Large Language Model) Nodes for ComfyUI." -version = "1.0.13" +version = "1.0.14" license = {file = "LICENSE"} dependencies = ["griptape[all]==0.34.0", "python-dotenv"]