File size: 886 Bytes
a40c757
 
 
 
 
 
 
 
 
 
 
bb31c45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---

title: DocuQuery
emoji: ๐Ÿ“„
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: "1.25.0"  # or latest
app_file: app.py
pinned: false
---


# ๐Ÿ“„ DocuQuery - Free Document Q&A with LangChain + Hugging Face

DocuQuery lets you **upload a PDF and ask questions** about it.  
This version uses **free Hugging Face models** (no OpenAI required).  

## ๐Ÿš€ Features
- Upload a PDF
- Ask questions in natural language
- Uses **sentence-transformers for embeddings** + **Flan-T5 for answering**
- Runs free via Hugging Face Hub

## ๐Ÿ› ๏ธ Tech Stack
- Python, Streamlit
- LangChain, FAISS
- Hugging Face Hub (Flan-T5, MiniLM embeddings)

## โ–ถ๏ธ Run Locally
```bash

git clone https://github.com/<your-username>/docuquery.git

cd docuquery

pip install -r requirements.txt

export HUGGINGFACEHUB_API_TOKEN="your_hf_token_here"

streamlit run app.py