Get YouTube video summaries, then chat about the video with a GPT.
Video transcription is quite slow when running locally (as expected).
Using GPT-4 and Whisper from OpenAI.
Install Certificates
- Go to the Python folder in your Applications directory (e.g., /Applications/Python 3.x).
- Run the "Install Certificates.command" script.
Install ffmpeg:
brew install ffmpeg
Python Package Installations:
pip install openai whisper pytube
OpenAI API key: Run in terminal: export OPENAI_API_KEY='your_api_key'
To get the summary of a YouTube video and chat about it with a gpt, run:
python main.py