opencv-python torch transformers Pillow numpy gradio