Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available:
1.41.1
metadata
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! π
Table of Contents
Installation
To get started, you need to create a Conda environment. Follow these steps:
- Create a Conda environment:
conda create -p venv python=3.11 -y
- Activate the environment:
conda activate langchain-summarizer
- Install the required packages: You can install the required packages using the
requirements.txt
file. Then, run:pip install -r requirements.txt
- 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
- Ensure you have your Groq API Key stored in the
.env
file. - Run the application:
streamlit run app.py
- 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 file for details