This FastAPI application provides an endpoint for uploading PDF files, extracting their text, and then answering questions based on the extracted text using a question-answering model from the transformers library.
- Upload PDF: Upload a PDF file and extract its text.
- Ask Question: Ask questions about the text extracted from the uploaded PDF.
-
Clone the Repository
git clone https://github.com/yourusername/your-repo.git cd your-repo