gradio transformers torch faiss-cpu numpy sentence-transformers python-docx requests fastapi uvicorn accelerate PyPDF2