Spaces:
Sleeping
Sleeping
iSathyam03
commited on
Commit
β’
1a76f8d
0
Parent(s):
first commit
Browse files
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# RapidRecap π
|
2 |
+
|
3 |
+
## Overview
|
4 |
+
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! π
|
5 |
+
|
6 |
+
![Project Screenshot](assets/application.png) <!-- Replace 'screenshot.png' with your actual image file name -->
|
7 |
+
|
8 |
+
## Table of Contents
|
9 |
+
- [Installation](#installation)
|
10 |
+
- [Usage](#usage)
|
11 |
+
- [Requirements](#requirements)
|
12 |
+
- [Acknowledgements](#acknowledgements)
|
13 |
+
- [License](#license)
|
14 |
+
|
15 |
+
## Installation
|
16 |
+
|
17 |
+
To get started, you need to create a Conda environment. Follow these steps:
|
18 |
+
|
19 |
+
1. **Create a Conda environment**:
|
20 |
+
```
|
21 |
+
conda create -p venv python=3.11 -y
|
22 |
+
```
|
23 |
+
2. **Activate the environment**:
|
24 |
+
```
|
25 |
+
conda activate langchain-summarizer
|
26 |
+
```
|
27 |
+
3. Install the required packages: You can install the required packages using the `requirements.txt` file. Then, run:
|
28 |
+
```
|
29 |
+
pip install -r requirements.txt
|
30 |
+
```
|
31 |
+
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:
|
32 |
+
```
|
33 |
+
GROQ_API_KEY=your_groq_api_key_here
|
34 |
+
```
|
35 |
+
|
36 |
+
## Usage
|
37 |
+
1. Ensure you have your Groq API Key stored in the `.env` file.
|
38 |
+
2. Run the application:
|
39 |
+
```
|
40 |
+
streamlit run app.py
|
41 |
+
```
|
42 |
+
3. Open your web browser and navigate to `http://localhost:8501` to access the application.
|
43 |
+
|
44 |
+
## Acknowledgements
|
45 |
+
* **LangChain**: For providing the framework to build language model applications.
|
46 |
+
* **Groq**: For the powerful Gemma-7b-It model.
|
47 |
+
* **Streamlit**: For making it easy to create web applications in Python.
|
48 |
+
* **YouTube and Web Sources**: For the content being summarized.
|
49 |
+
|
50 |
+
## License
|
51 |
+
This project is licensed under the GNU License - see the [LICENSE](LICENSE) file for details
|