put config in a directory
and ajusted coded to match
This commit is contained in:
7
.gitignore
vendored
7
.gitignore
vendored
@@ -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__
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user