Views
No views yet
1from huggingface_hub import hf_hub_download
2import torch
3
4adapter_path = hf_hub_download(repo_id='Prisma-Multimodal/TinyCLIP-Kandinsky-adapter', filename='adapter_checkpoint_5000.pth')
5adapter = torch.load(adapter_path, map_location=torch.device('cpu'))