Merge branch 'dev'

This commit is contained in:
ForeverPyrite
2024-11-20 15:14:39 -05:00
2 changed files with 20 additions and 3 deletions

View File

@@ -58,17 +58,16 @@ import pytz
from datetime import datetime
def log(str):
with open("log.md", "at") as file:
with open("logs/log.md", "at") as file:
file.write(str)
### OpenAI Config
# Setting up OpenAI Client with API Key
api_key = os.getenv("OPENAI_API_KEY")
client = OpenAI(
organization='org-7ANUFsqOVIXLLNju8Rvmxu3h',
project="proj_NGz8Kux8CSka7DRJucAlDCz6",
api_key=api_key
api_key=os.getenv("OPENAI_API_KEY")
)
# screw bardo assistant that is configured to make notes and 5Q&A based on any given YouTube Transcript