--- title: PDF Chatbot emoji: 📄 colorFrom: blue colorTo: purple sdk: gradio sdk_version: "3.50.2" app_file: app.py pinned: false --- # PDF Question Answering Chatbot A smart chatbot that can answer questions about your uploaded PDF documents using AI. ## Features - Upload any text-based PDF - Ask questions in natural language - Get accurate answers extracted from the document - Clean, user-friendly interface ## How to Use 1. Upload a PDF file 2. Wait for the confirmation message 3. Ask questions about the document content 4. Receive answers with confidence scores ## Technical Details - Powered by `deepset/roberta-base-squad2` model - Built with Gradio interface - Deployed on Hugging Face Spaces - Uses PyPDF2 for text extraction [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces)