Skip to content

Commit

Permalink
Merge pull request #148 from griptape-ai:dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
shhlife authored Oct 31, 2024
2 parents 104bd77 + 10e1e3e commit c088d85
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
11 changes: 9 additions & 2 deletions js/versions.js
Original file line number Diff line number Diff line change
@@ -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",
]
Expand Down
7 changes: 5 additions & 2 deletions nodes/tasks/gtUITextToSpeechTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
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):
Expand All @@ -42,6 +40,11 @@ def run(self, **kwargs):
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(
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
readme = "README.md"
Expand All @@ -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"]

Expand Down

0 comments on commit c088d85

Please sign in to comment.