YouTube Transcript Summarizer Powered by Gemini Pro is a Python-based application that transcribes YouTube videos and generates concise summaries using the power of large language models (LLMs) through Google Gemini Pro. This app simplifies long video content by providing transcriptions and key insights in just a few steps.
- Transcription: Automatically fetches video transcripts for YouTube videos.
- Summarization: Uses Google Gemini Pro to generate concise summaries of the transcripts.
- User-Friendly Interface: Built with Streamlit, offering an intuitive and interactive experience.
- Thumbnail Display: Shows video thumbnail for better context.
- Python: Main programming language.
- Streamlit: Framework for building web applications.
- youtube-transcript-api: Library for fetching transcripts from YouTube videos.
- Google Gemini Pro: AI service for generating text summaries.
- Python 3.7 or higher
- A Google API key for accessing Google Gemini Pro
-
Clone the repository:
git clone https://github.com/gamzeakkurt/YouTubeGeminiTranscriber.git
-
Navigate to the project directory:
cd YouTube-Transcript-Summarizer
-
Create a virtual environment (optional but recommended):
python -m venv env source env/bin/activate # On Windows use `env\Scripts\activate` conda activate env # On Mac use
-
Install the required packages:
pip install -r requirements.txt
-
Set up your Google API key:
- Create a
.env
file in the project root and add your Google API key:GOOGLE_API_KEY=your_api_key_here
- Create a
-
Run the Streamlit application:
streamlit run YouTubeGeminiTranscriber.py
-
Open your web browser and go to
http://localhost:8501
to access the application. -
Enter a YouTube video link in the provided input field and click on "Get Detailed Notes" to fetch the transcript and receive a summarized version of the content.
- Input: YouTube URL of a video (e.g., a tutorial or lecture).
- Output: Transcription and a concise summary of key points.
Contributions are welcome! Feel free to fork the repository, open issues, and submit pull requests to help enhance this project.
This project is licensed under the MIT License. See the LICENSE file for more details.
Enjoy summarizing your favorite YouTube videos with ease!