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