# 🧠 PDF Q&A Chatbot using LangChain + Falcon + Gradio This Space allows you to upload any PDF and chat with it using a lightweight Falcon model via LangChain and Gradio! ## 🚀 Features - Upload your own PDF at runtime - Ask natural language questions - Powered by `tiiuae/falcon-rw-1b` for lightweight inference - Runs on CPU (HF Spaces free tier compatible) ## 🛠️ Tech Stack - [LangChain](https://github.com/langchain-ai/langchain) - [Transformers](https://github.com/huggingface/transformers) - [Gradio](https://gradio.app/) - [FAISS](https://github.com/facebookresearch/faiss) - [Hugging Face Spaces](https://huggingface.co/spaces) ## 📦 Requirements Make sure your `requirements.txt` includes: ```txt gradio transformers huggingface-hub faiss-cpu pypdf langchain langchain-community