torch transformers sentence-transformers scikit-learn gradio fastapi uvicorn pydantic