- Run
(cd data && youtube-dl -x LINK_TO_YOUTUBE)
- Run
python main.py --audio data/PATH_TO_AUDIO_FILE.m4a
or Runpython 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/.