Skip to content

Transcribe Youtube video using Whisper, then summarize it with Llama model

Notifications You must be signed in to change notification settings

haron/yt-transcribe-summarize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

yt-transcribe-summarize

Python script to transcribe and summarize Youtube video (or any video supported by yt-dlp), using models hosted by Replicate.

Usage

  1. Install UV (or run pip install -U ConfigArgParse replicate yt_dlp).

  2. Create a Replicate account, enable billing (I strongly suggest setting a spend limit to $5 for starters) and get your API token.

Then:

git clone https://github.com/haron/yt-transcribe-summarize.git
cd yt-transcribe-summarize
export REPLICATE_API_TOKEN=your-token-here
./yt-transcribe-summarize.py https://www.youtube.com/watch?v=dQw4w9WgXcQ

Instead of exporting REPLICATE_API_TOKEN every time you want to summarize a video, you can save it in a config file replicate.conf:

replicate-api-token = ...

About

Transcribe Youtube video using Whisper, then summarize it with Llama model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages