From ab30ddabcac60fc8681ac4cebb675ac7776fc00a Mon Sep 17 00:00:00 2001 From: Kye Date: Mon, 29 May 2023 19:00:17 -0400 Subject: [PATCH] dotenv remove --- setup.py | 4 +--- tree_of_thoughts/guidanceModels.py | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index bfc144b..612a0ab 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name = 'tree-of-thoughts', packages = find_packages(exclude=[]), - version = '0.2.7', + version = '0.2.8', license='MIT', description = 'Tree of Thoughts - Pytorch', author = 'Kye Gomez', @@ -20,8 +20,6 @@ 'guidance', 'openai', 'transformers', - 'dotenv', - '' ], classifiers=[ 'Development Status :: 4 - Beta', diff --git a/tree_of_thoughts/guidanceModels.py b/tree_of_thoughts/guidanceModels.py index 0890be3..bcc1363 100644 --- a/tree_of_thoughts/guidanceModels.py +++ b/tree_of_thoughts/guidanceModels.py @@ -3,8 +3,8 @@ import time import os import openai -from dotenv import load_dotenv -load_dotenv() + + class GuidanceLanguageModel(AbstractLanguageModel): def __init__(self, model, strategy="cot", evaluation_strategy="value", enable_ReAct_prompting=False): # gpt4 = guidance.llms.OpenAI("gpt-4")