Downloads · 30 days
0
AmirMohseni/YoutubeSummarizer
YoutubeSummarizer is a machine learning model from AmirMohseni. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This Jupyter Notebook tool transforms YouTube videos into concise text summaries using Whisper and ChatGPT 4.
Downloads · 30 days
0
Access
Public
Updated May 5, 2024
Repo size
—
Likes
9
Public
Click a slice to open those files.
.ipynb15.4 KB · 68%
From the Hugging Face model README
This Jupyter Notebook tool transforms YouTube videos into concise text summaries using Whisper and ChatGPT 4.
Leverage pytube, openai, and whisper Python libraries to:
pytube.Set Up: Install required libraries with pip:
pip install pytube openai git+https://github.com/openai/whisper.git
Get Started: Clone the repository with the Jupyter Notebook.
Launch Notebook: Open YoutubeScript.ipynb in Jupyter.
Run Notebook: Sequentially execute cells, inputting the YouTube URL when asked.
Generate Summary: Follow on-screen prompts to download audio, transcribe, and summarize.
Review Summary: Access the final summary in summary.txt.
To use the code for creating a Telegram bot that generates text summaries from YouTube URLs:
/summarize to the bot.