This is a simple Streamlit web app that allows you to summarize a YouTube video using the power of Llama 2 🦙, Haystack, and Streamlit. With this app, you can quickly generate a summary of your favorite YouTube videos in just a few clicks. It's designed to be user-friendly and fun to use.
To get started with the YouTube Video Summarizer, follow these steps:
-
Clone this repository to your local machine or download the code as a ZIP file.
-
Install the required Python packages. You can do this by running:
pip install -r requirements.txt
-
Run the app:
streamlit run app.py
-
Open your web browser and go to the URL provided by Streamlit (typically, it will be something like http://localhost:8501).
-
Once the app is running, you will see a simple web page with a text input field and a "Submit" button.
-
Enter the YouTube URL of the video you want to summarize into the text input field.
-
Click the "Submit" button.
-
The app will download the video and start summarizing it.
-
You will see a video player displaying the YouTube video on the left side of the page, and the generated summary on the right side.
-
The summary will be displayed along with the time it took to generate it.
This app allows you to summarize while watching a YouTube video. It's built with the Llama 2 🦙, Haystack, Streamlit, and lots of ❤️ by boxed-dev.
If you'd like to contribute to this project, please follow these guidelines:
-
Fork the repository.
-
Create a new branch with a descriptive name (e.g.,
feature/new-feature
orbugfix/issue-description
). -
Make your changes and ensure that the code is well-documented.
-
Test your changes to ensure they work as expected.
-
Create a pull request to the
main
branch of this repository. -
Provide a clear and concise description of your changes in the pull request.
- Streamlit - for making it easy to create beautiful web apps with simple Python scripts.
- Llama 2 - for powerful text generation capabilities.
- Haystack - for providing the infrastructure for building question-answering systems.
🚀 Happy summarizing! 🚀