Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

askPDF - A FREE PDF Chat App powered by LLMs

This is a PDF chat app which you can run on your local machine. The app allows users to upload any PDF and ask questions. The app is built using Langchain, Streamlit and Hugging Face Q&A LLM.

Features

  • Upload any PDF file
  • Ask questions about the PDF

How to Use

  1. Clone the repository:
git clone https://github.com/sudan94/chat-pdf-hugginface.git
  1. Install the required packages:
pip install streamlit langchain huggingface-hub pdfminer.six spacy sentence-transformers faiss-cpu
spacy download en_core_web_sm
  1. Add the huggingface token:

    1. rename .streamlit/secrets.local.toml to .streamlit/secrets.toml
    2. paste the token inside the double quotes #NOTE: The quotes are necessary
  2. Run the app:

streamlit run app.py
  1. Upload a PDF file and ask questions about it.

About

Introducing askPDF: the FREE and PRIVATE tool to chat with your PDFs locally on any hardware!

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages