Skip to content

ClipGist app that utilizes LangChain and Google PALM to generate concise summaries of YouTube videos, enhancing content accessibility and comprehension

License

Notifications You must be signed in to change notification settings

Manul28/ClipGist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

CLIPGIST

ClipGist is a Python tool that leverages LangChain and Google PaLM to automatically generate concise summaries of YouTube videos. With advanced natural language processing techniques, ClipGist extracts meaningful information from video transcripts, offering users quick insights without the need to watch the entire video.

Live Demo

Features

Automated Summarization: Generate short, easy-to-read summaries of YouTube videos. NLP-Powered: Uses advanced natural language processing algorithms through LangChain and Google PaLM. Time Efficient: Save time by getting the key points of videos in a matter of seconds. Customizable Summaries: Adjust the length of the summaries based on your needs. Simple Interface: Easy to use and integrate into other projects or applications.

How It Works

YouTube Transcript: ClipSift retrieves the transcript of a given YouTube video. LangChain + Google PaLM: The transcript is processed through LangChain to connect with Google PaLM, which uses state-of-the-art NLP techniques to summarize the content. Summary Output: The concise summary of the video is displayed, providing the essential takeaways from the video.

Installation

  1. Set up a Virtual Environment (Optional but recommended)

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  2. Install Dependencies

    pip install -r requirements.txt
    pip install --no-deps google-generativeai
  3. Environment Variables

    • Create a .env file in the root directory of your project.

    • Add your Google API key to the .env file:

      GOOGLE_API_KEY=your_google_api_key_here

Usage

Execute the the following command:

streamlit run main.py

Navigate to the provided local URL displayed in your command prompt or terminal to access the web interface. Enter a YouTube video URL into the input field and click the "Summarize" button to see the summary.

About

ClipGist app that utilizes LangChain and Google PALM to generate concise summaries of YouTube videos, enhancing content accessibility and comprehension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages