A script to skim through a PDF file or a YouTube video and generate a summary. A simple experiment with file processing and the youtube-transcript-api using the OpenAI GPT models.
-
Ensure you have python3 installed.
If you don't have python, get it at https://www.python.org/downloads/
-
Go into your terminal and execute these following commands to traverse into the script folder and to install the required dependencies.
cd downloads
ORcd Downloads
git clone https://github.com/azh412/skimbot.git
cd skimbot
pip3 install -r requirements.txt
To run the program, execute python3 skimbot.py
Make sure to replace the openai.api_key
variable with your OpenAI API key.
-azh