refactor: Refactor imports to be compatible with unit tests

This commit is contained in:
Drikus Roor
2023-04-11 19:53:42 +02:00
committed by Drikus Roor
parent 3d5dba2e57
commit d0ae72e63b
12 changed files with 24 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
import openai
from config import Config
from .config import Config
cfg = Config()
openai.api_key = cfg.openai_api_key