fastapi uvicorn pandas sentence-transformers torch scikit-learn PyPDF2 pdf2image pytesseract python-docx docx2txt reportlab