From 8684a1cd30c568168dcc7b83a1204030c112df00 Mon Sep 17 00:00:00 2001 From: Leonard Excoffier Date: Fri, 15 Dec 2023 20:16:57 -0500 Subject: [PATCH] put config in a directory and ajusted coded to match --- .gitignore | 7 ++----- leogpt.py | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c4ff963..c0811af 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,2 @@ -#wher are stored token and api keys -config.py - -#Python cache, unique to each machine when program launched -__pycache__ +#Where is stored the config file and pycache +/config/ diff --git a/leogpt.py b/leogpt.py index 057006a..738ce02 100644 --- a/leogpt.py +++ b/leogpt.py @@ -4,7 +4,7 @@ from openai import AsyncOpenAI import logging import asyncio import time -import config +from config import config from collections import defaultdict from datetime import datetime, timedelta