This API helps to summarize the youtube videos based on their caption.
It does so using Google trained NLP T5 model passed through HuggingFace transformer and PyTorch for GPU utilization.
GET /api/summarize?videoID={video_id}
Parameter | Type | Description |
---|---|---|
video_id |
string |
Youtube video id |
Takes the video ID and returns the summarized subtitle.
git clone https://github.com/Uday-Wahi/Youtube-Text-Summarizer.git
cd Youtube-Text-Summarizer
python3 -m venv <folder name>
- On Unix / MacOS
source venv/bin/activate
- On Windows
source venv/bin/activate.bat
- On Unix / MacOS
pip install -r requirements.txt
- On Windows
pip3 install -r requirements.txt
python app.py
I'm a full stack web developer...
Android front-end developer..
Learning cybersecurity.
Server: Flask
youtube-transcript-api
T5-model
HuggingFace transformer