Generate Podcast Chapters

Generate YouTube-style chapter timestamps for podcast episodes. WhisperX detects where speech starts and stops, then an LLM summarizes each segment into a chapter title.

Audio · Notebook · Updated

Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.

What it uses

Install
terminal
pip install pixeltable whisperx openai
Environment variables it names
OPENAI_API_KEY
Pixeltable calls
pxt.create_table()pxt.create_view()@pxt.udfinsert()add_computed_column()

A look at the code

audio-podcast-chapters.ipynb
episodes.add_computed_column(
transcription=pxtf.whisperx.transcribe(
episodes.audio, model='tiny.en'
)
)

One cell of the notebook, copied as it is. Open it in Colab for the rest.

Browse all 103