gradio numpy scikit-learn matplotlib torch sentence-transformers python-docx imageio