1from pyannote.audio import Model
2from huggingface_hub import hf_hub_download
3
4checkpoint = hf_hub_download(
5 repo_id="your-username/bengali-diarization-natok",
6 filename="pytorch_model.bin",
7 token="YOUR_TOKEN"
8)
9model = Model.load_from_checkpoint(checkpoint)