mirror of
https://github.com/run-llama/notebookllama.git
synced 2026-07-01 22:14:04 -04:00
fix: add type annotation for PODCAST_GEN to resolve error
This commit is contained in:
@@ -360,6 +360,8 @@ class PodcastGenerator(BaseModel):
|
||||
|
||||
load_dotenv()
|
||||
|
||||
PODCAST_GEN: Optional[PodcastGenerator]
|
||||
|
||||
if os.getenv("ELEVENLABS_API_KEY", None) and os.getenv("OPENAI_API_KEY", None):
|
||||
SLLM = OpenAIResponses(
|
||||
model="gpt-4.1", api_key=os.getenv("OPENAI_API_KEY")
|
||||
|
||||
Reference in New Issue
Block a user