fastapi uvicorn torch sentence-transformers numpy pillow datasets gradio