Skip to content

Summarize Youtube videos using OpenAI whisper and Anthropic Claude (100k token model)

Notifications You must be signed in to change notification settings

ChristopherRabotin/ask-claude

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YT summary

  1. Run (cd data && youtube-dl -x LINK_TO_YOUTUBE)
  2. Run python main.py --audio data/PATH_TO_AUDIO_FILE.m4a or Run python main.py --transcript data/PATH_TO_AUDIO_FILE.txt

If you want it to ask questions, just add the --ask flag, e.g. python main.py --transcript data/LIVE\ _\ ChatGPT\ chief\ Sam\ Altman\ testifies\ before\ Congress\ on\ AI-xS6rGBpytVY.opus_transcript.txt --ask

You need to define the ANTHROPIC_API_KEY environment variable to use Claude. You can get one by signing up at https://www.anthropic.com/.

About

Summarize Youtube videos using OpenAI whisper and Anthropic Claude (100k token model)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages