The YouTube Video Summarizer is a Streamlit app that uses the BART model to generate summaries from YouTube video transcripts. It allows users to input a YouTube video link, and the app retrieves the transcript, processes it, and generates a concise summary.
- Accepts YouTube video links as input.
- Validates the link format.
- Extracts the video ID from the link.
- Retrieves the video transcript using the YouTube Transcript API.
- Uses the BART model to generate a summary from the transcript.
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
.\venv\Scripts\activate
-
Install the required packages:
pip install -r requirements.txt
Run the Streamlit app:
cd src
streamlit run app.py
Visit http://localhost:8501 in your web browser to use the app.
This project is licensed under the Apache License 2.0.