fastapi uvicorn gradio openai pydantic-settings spaces transformers torch