torch torchvision pillow tqdm numpy modelscope gradio # Hugging Face Hub:用于 Spaces 部署时从 Hub 下载 checkpoint huggingface_hub