- Cloning the repo
git clone https://github.com/RafeedArian99/PDF-Summarization-and-Querying.git
cd PDF-Summarization-and-Querying
- Creating and using a virtual env
virtualenv venv
source venv/bin/activate
- Installing dependencies
pip3 install -r requirements.txt
- Exporting hugging face token
# replace $TOKEN with your token
echo "HUGGINGFACEHUB_API_TOKEN=\"$TOKEN\"" > .env
- Running the application
streamlit run app.py
- Upload file and hit submit
- Upload file
- Query