transformers gradio opencv-python-headless Pillow numpy torch