torch transformers gradio pillow requests numpy