ChristopherRabotin / ask-claude

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)


Languages

Language:Python 100.0%