Skip to content

Commit

Permalink
Drop envist in favor of dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed Feb 15, 2024
1 parent f3d8d31 commit e214ff0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ pyyaml==6.0.1
matplotlib
gpt4all==2.2.0
poe-api-wrapper==1.3.6
envist==0.0.4
python-dotenv==1.0.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"pyperclip==1.8.2",
"colorama==0.4.6",
"g4f>=0.2.1.2",
"envist==0.0.4",
"python-dotenv==1.0.0",
]

EXTRA_REQUIRE = {
Expand Down
4 changes: 2 additions & 2 deletions src/pytgpt/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
from WebChatGPT.console import chat as webchatgpt
from colorama import Fore
from colorama import init as init_colorama
from envist import Envist
from dotenv import load_dotenv

init_colorama(autoreset=True)

Envist() # loads .env variables
load_dotenv() # loads .env variables

logging.basicConfig(
format="%(asctime)s - %(levelname)s : %(message)s ", # [%(module)s,%(lineno)s]", # for debug purposes
Expand Down

0 comments on commit e214ff0

Please sign in to comment.