transformers torch gradio numpy typing