gradio numpy opencv-python-headless Pillow torch torchvision langchain