YouTube Transcript Summarizer is a Flask web application that summarizes YouTube video transcripts using the OpenAI API. Users can input a YouTube URL, and the app retrieves the video's transcript and generates a concise summary with key points and keywords.
- Extracts transcripts from YouTube videos.
- Generates summaries using OpenAI's GPT-3.5-turbo model.
- Displays the summary, notes, and keywords in a simple web interface.
- Python 3.7 or later
- Flask
- youtube-transcript-api
- openai
-
Clone the repository:
git clone https://github.com/kytranada/YoutubeSummarizer.git cd YoutubeVideoSummarizer
-
Install the dependencies:
pip install -r requirements.txt
-
Set up environment variables:
Create and open the
.env
file in the root directory of the project and add your OpenAI API keyOPENAI_API_KEY=your_openai_api_key_here
-
Run the application:
python app.py
-
Open your web browser and go to:
http://127.0.0.1:5000/
-
Enter a YouTube URL and click "Summarize" to get the video's summary.