debian was not the play
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
thread-killer.py
|
||||
log.txt
|
||||
.env
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
|
||||
4
main.py
4
main.py
@@ -14,8 +14,10 @@ from openai import OpenAI
|
||||
from typing_extensions import override
|
||||
|
||||
# To get the env var
|
||||
from dotenv import load_dotenv
|
||||
import os
|
||||
|
||||
load_dotenv()
|
||||
|
||||
### OpenAI Config
|
||||
|
||||
@@ -44,7 +46,7 @@ class EventHandler(AssistantEventHandler):
|
||||
|
||||
|
||||
# Setting up OpenAI Client with API Key
|
||||
api_key =os.getenv("OPENAI_API_KEY")
|
||||
api_key = os.getenv("OPENAI_API_KEY")
|
||||
client = OpenAI(
|
||||
organization='org-7ANUFsqOVIXLLNju8Rvmxu3h',
|
||||
project="proj_NGz8Kux8CSka7DRJucAlDCz6",
|
||||
|
||||
BIN
requirements.txt
BIN
requirements.txt
Binary file not shown.
Reference in New Issue
Block a user