Skip to content

Project made with Langchain, Google Palm, Streamlit in which user can enter the youtube video url and the summary related to the video is being fetched

Notifications You must be signed in to change notification settings

varayush007/Youtube_Summarization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Video Summarizer with Streamlit and LangChain

This project provides a user-friendly web application for generating concise summaries of YouTube videos. It harnesses the power of LangChain and Google's Palm LLM to understand and condense video content.

Key Features

  • Simple Interface: Enter a YouTube video URL and click "Summarize" for a quick summary.
  • Efficient Summarization: Leverages LangChain and advanced language models for effective text summarization.
  • Streamlit Integration: Creates an easy-to-use web interface with Streamlit.

How to Use

  1. Prerequisites:

  2. Environment Variables:

    • Create a .env file in the project's root directory.
    • Add a variable named GOOGLE_API_KEY and set its value to your Google API Key.
  3. Run the Streamlit App:

    • From your terminal, navigate to the project directory.
    • Execute streamlit run main.py

Demo

image

Project Structure

  • main.py: Contains the Streamlit application code for the user interface and logic.
  • langchain_helper.py: Houses the functions for loading the YouTube transcript, text splitting, and summary generation via LangChain.
  • .env: Stores your sensitive Google API key.
  • requirements.txt: Lists project dependencies.

Notes

  • The Google Palm LLM is currently in a research preview, so access to the API might be limited. Be sure to follow Google's guidelines.

Contributing

We welcome contributions to improve this project! Feel free to open issues or submit pull requests.

About

Project made with Langchain, Google Palm, Streamlit in which user can enter the youtube video url and the summary related to the video is being fetched

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages