torch transformers gradio openai numpy pillow matplotlib