This project helps to summarize the content of a YouTube video into a text format.
Just copy and past the URL of youtube video and generate the summary using LangChain and Google's LLM.
Tech: LangChain + Google PaLM 2 + Streamlit
- Create a virtual environment
python -m venv venvLangChain
- Activate it:
- Windows:
.\venvLangChain\Scripts\activate
- Windows:
- Clone this repo:
git clone https://github.com/utsavbhattarai/YouTubeVideoSummarizer.git
- Go into the directory:
cd YouTubeVideoSummarizer
- Install the required dependencies:
pip install -r requirements.txt
- Either Add your Google PaLM API_KEY to the .env file into:
GOOGLE_API_KEY=''
or replace:os.environ['GOOGLE_API_KEY']
with the API_KEY. - Start the app:
streamlit run main.py