A Streamlit application that generates summaries of YouTube videos using various language models powered by Groq.
- Summarize YouTube videos by providing their URLs
- Choose from multiple language models (llama-3.1-70b-versatile, llama-3.1-8b-instant, llama3-70b-8192, gemma2-9b-it, mixtral-8x7b-32768)
- Adjust the chunk size for processing video captions
- Support for different input and output languages
- Ability to summarize longer videos by processing them in multiple chunks
- Display video metadata and captions
- rye
- Python 3.8+
- Streamlit
- phidata library
- python-dotenv
- groq API-KEY
- Clone this repository
- Install the required packages:
rye sync
- Set up your environment variables in a
.env
file (see.env.sample
for reference) - Get your own groq API-KEY and paste it on the
.env
file
- Run the Streamlit app:
rye run streamlit run src/app.py
- Open the provided URL in your web browser
- Enter a YouTube video URL in the sidebar
- Select your desired language model and settings
- Click "Generate Summary" to process the video and view the results
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the LICENSE file.
This project is built using phidata and powered by Groq language models.