gradio torch torchvision Pillow gdown numpy scipy opencv-python-headless encoded-video