Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Video Transcript Summarizer with Gemini API

This project provides a Streamlit web application that extracts transcripts from YouTube videos and generates detailed notes using Google's Gemini API. The application is designed to be user-friendly and efficient, offering a simple interface to summarize YouTube videos into concise and valuable notes.

Features

  • Extracts transcript details from YouTube videos.
  • Utilizes Google's Gemini API for generating detailed content.
  • User-friendly interface built with Streamlit.
  • Displays video thumbnail for better visualization.
  • Handles errors gracefully, such as when subtitles are disabled.

Screenshots

Home Screen Video Thumbnail Detailed Notes

Installation

Follow these steps to set up the project:

  1. Create an environment:

    python -m venv myEnv
  2. Activate the environment:

    myEnv\Scripts\activate
  3. Install the necessary libraries:

    pip install -r requirements.txt
  4. Generate your own Google's Gemini API key 🔗

    # Make sure to add your Gemini API key in the .env file as:
    # GOOGLE_API_KEY=your_api_key_here
    
    # The client will automatically load it from the environment
    client = genai.Client(api_key=os.getenv("GOOGLE_API_KEY"))

Usage

To run the application, use the following command:

cd src
streamlit run app.py

Contributing

Feel free to contribute to this project by submitting a pull request. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License.


Created with ❤️ by [Imran Nawar]

Releases

Packages

Used by

Contributors

Languages