You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd be happy to submit a pull request which replicates usage of the HUGGINGFACE_TOKEN environment variable and optionally allows for provision of hf_token directly to the apply() function, but could use some guidance on where you'd like to centralize that environment variable handling code so it's not repeated.
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 inpreprocess.diarize_and_split_audio()
.Reproduction
pipenv install speakerbox=1.2.0
Executive script which calls
apply()
function with a trained model.Environment
The text was updated successfully, but these errors were encountered: