flask python-docx PyPDF2 sentence-transformers gradio nltk