This is Project made with the help of Groq and TextGrad.
Make sure you have the Nix package manager and Git installed.
- Clone the repository
git clone https://github.com/Natural-Language-Computing/Text-Summarizer-Pipeline.git
cd Text-Summarizer-Pipeline
- Create
.env
file and put your Groq API key in it
GROQ_API_KEY="your API key"
- Enable nix shell
nix develop --extra-experimental-features "nix-command flakes" --no-pure-eval
# This command will install Python, create a virtual environment, and install dependencies required for the project
# Refer to `flake.nix` for more details.
- Run the project
streamlit run pipeline.py
- Open the browser and go to
http://localhost:8501
Make sure you have the following installed:
- Git
- Python 3.11 or higher
To run the project locally, follow these steps:
- Clone the repository
git clone https://github.com/Natural-Language-Computing/Text-Summarizer-Pipeline.git
cd Text-Summarizer-Pipeline
- Create
.env
file and put your Groq API key in it
GROQ_API_KEY="your API key"
- Create a virtual environment
python3 -m venv venv
- Activate the virtual environment
# On Windows
venv\Scripts\Activate.ps1
# On Linux or macOS
source venv/bin/activate
- Install the dependencies
python3 -m pip install -r requirements.txt
- Run the project
streamlit run pipeline.py
- Open the browser and go to
http://localhost:8501