NotebookLM OpenAI

wandb weave

OpenAI

  • Prepare environment variables, You can modify the model you want to use in the .env file.
cp .env.openai .env
  • Install dependencies
poetry install
  • Generate podcast
poetry run generate_podcast --input-file pdf/file/path

Mlx

Set the local model you want to use, you can quickly start by using the .env.mlx file.

cp .env.mlx .env

install mlx_lm server and start it

pip install -U mlx_lm
mlx_lm.server

Generate podcast

poetry run generate_podcast --input-file pdf/file/path