Describe the Bug
The apply() function fails as a Hugging Face token is not supplied. The contained _diarize() function calls:
diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization")
This results in an error indicating the pipeline is private/gated.
Expected Behavior
The HUGGINGFACE_TOKEN environment variable is not utilized as it is in preprocess.diarize_and_split_audio().
Reproduction
pipenv install speakerbox=1.2.0
Executive script which calls apply() function with a trained model.
Environment
- OS Version: macOS 13.4
- Python: 3.10.13
- speakerbox Version: 1.2.0