torch tqdm numpy Pillow gradio requests torchvision