File size: 1,921 Bytes
f4a1865
 
 
 
 
 
 
 
 
 
1a76f8d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f4a1865
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
title: Text Summarization Using LangChain
emoji: 😁
colorFrom: blue
colorTo: red
sdk: streamlit
app_file: app.py
pinned: false
---

# RapidRecap πŸ“‘

## Overview
A Streamlit-based application that summarizes content from YouTube videos and websites using the Gemma-7b-It model from Groq. Easily input any URL to get quick, insightful summaries with just a click! πŸš€

![Project Screenshot](assets/application.png)  <!-- Replace 'screenshot.png' with your actual image file name -->

## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Requirements](#requirements)
- [Acknowledgements](#acknowledgements)
- [License](#license)

## Installation

To get started, you need to create a Conda environment. Follow these steps:

1. **Create a Conda environment**:
   ```
   conda create -p venv python=3.11 -y
   ```
2. **Activate the environment**:
   ```
   conda activate langchain-summarizer
   ```   
3. Install the required packages: You can install the required packages using the `requirements.txt` file. Then, run:
   ```
   pip install -r requirements.txt
   ```
4. Add a .env file: Create a `.env` file in the root directory of your project to store your Groq API Key. Add the following line to the file:  
   ```
   GROQ_API_KEY=your_groq_api_key_here
   ```

## Usage   
1. Ensure you have your Groq API Key stored in the `.env` file.
2. Run the application:
   ```
   streamlit run app.py
   ```
3. Open your web browser and navigate to `http://localhost:8501` to access the application. 

## Acknowledgements
* **LangChain**: For providing the framework to build language model applications.
* **Groq**: For the powerful Gemma-7b-It model.
* **Streamlit**: For making it easy to create web applications in Python.
* **YouTube and Web Sources**: For the content being summarized.

## License
This project is licensed under the GNU License - see the [LICENSE](LICENSE) file for details