numpy typing gradio fastapi uvicorn sentence-transformers torch