Skip to content

ivangolt/youtube_llm_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOUTUBE Q&A AND SUMMARIZATION APP 📺

This repository hosts an app developed using Whisper and Langchain that allows the creation of a Q&A assistant and video summarization. The model's maximum context length is 4097 tokens (gpt-3.5-turbo).

The App can be run locally but requires an OPENAI_API_KEY in the .env file. Feel free to ⭐ and clone this repo 😉

👨‍💻 Tech Stack

Python OpenAI Linux Git Streamlit

💬 Set Up

I recommend installing the modules in the following order. The ffmpeg module is required for the proper functioning of the application. You can install it using Conda as follows:

poety install

🫵 App Deployment

The app can be used running streamlit run youtube_llm_app/app.py in the terminal. There are 2 options on the sidebar, Q&A or Summarize. I recommend using videos no longer than 5 min of speech due to the model tokens' limitations.

The first option allows a Q&A assistant to ask questions about the video.

The second option allows us to get a summary of the video.

About

youtube qa and summarization app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages