From 45987f4b71200cd77f0d07334b8b6efb59dada3b Mon Sep 17 00:00:00 2001 From: justumen Date: Sun, 30 Mar 2025 08:10:46 +0200 Subject: [PATCH] 0.79 --- README.md | 3 ++- ollama_talk.py | 5 +++-- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6e8e7ff..01257a7 100644 --- a/README.md +++ b/README.md @@ -462,7 +462,8 @@ Remove faster-whisper from requirements.txt for people using python 3.13. (Need Fix preview image node for the new comfyui layout. Rewrite of FFMPEG nodes, COnfiguration and Video preview. Many other bug fixes and improvements on many nodes, thx for the reports. -- **0.78**: Fix Line selector Reset button javascript. (not showing on refresh) +- **0.78**: Fix Line selector Reset button javascript. (not showing on refresh) +- **0.79**: Fix Ollama Talk # 📝 Nodes descriptions diff --git a/ollama_talk.py b/ollama_talk.py index 93fddad..198446b 100644 --- a/ollama_talk.py +++ b/ollama_talk.py @@ -11,6 +11,9 @@ import sys import os import time import glob +import io +import ollama +from ollama import Client class OllamaTalk: @classmethod @@ -45,8 +48,6 @@ class OllamaTalk: current_instance = None def __init__(self): - import ollama - from ollama import Client self.last_content_hash = None self.waiting = False self.OLLAMA_CONFIG = None diff --git a/pyproject.toml b/pyproject.toml index 16915b8..46b8586 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "bjornulf_custom_nodes" description = "162 ComfyUI nodes : Display, manipulate, and edit text, images, videos, loras, generate characters and more. Manage looping operations, generate randomized content, use logical conditions and work with external AI tools, like Ollama or Text To Speech, etc..." -version = "0.78" +version = "0.79" license = {file = "LICENSE"} [project.urls]