Podcast generator with 2 hosts using Ollama and Piper. Inspired by NotebookLM, but is generally of much lower quality.
- Tested on Python 3.13
- Install the requirments with pip:
pip install -r requirements.txt
- Piper installed and in PATH (executable with
piper-tts
) - Download Piper voice models to the
voices
folder: https://rhasspy.github.io/piper-samples/ - Ollama installed and serving
- llama3.2
- Create a text file where you insert the text you want the AI to discuss.
- Execute the script with this syntax:
python podcast.py <speaker 1>.onnx <speaker 2>.onnx <text>.txt
- Check the script, press Enter, and your podcast will be generated to
./audio/generated/<current time>.ogg
Based on text from this article: https://en.wikipedia.org/wiki/IP_over_Avian_Carriers