AI_Agent_Server / backend /voice /__init__.py
Sidreds06's picture
Initial Commit
b2f01bd
raw
history blame contribute delete
219 Bytes
import openai
import os
from dotenv import load_dotenv
load_dotenv()
openai.api_key = os.getenv("OPENAI_API_KEY")
if not openai.api_key:
raise ValueError("OPENAI_API_KEY is not set. Please check your .env file.")