put config in a directory

and ajusted coded to match
This commit is contained in:
2023-12-15 20:16:57 -05:00
parent c5abd38032
commit 8684a1cd30
2 changed files with 3 additions and 6 deletions

7
.gitignore vendored
View File

@@ -1,5 +1,2 @@
#wher are stored token and api keys #Where is stored the config file and pycache
config.py /config/
#Python cache, unique to each machine when program launched
__pycache__

View File

@@ -4,7 +4,7 @@ from openai import AsyncOpenAI
import logging import logging
import asyncio import asyncio
import time import time
import config from config import config
from collections import defaultdict from collections import defaultdict
from datetime import datetime, timedelta from datetime import datetime, timedelta