Skip to content

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

Notifications You must be signed in to change notification settings

Pranav-Bobde/askPDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages