79541755

Date: 2025-03-28 14:57:37
Score: 2.5
Natty:
Report link
from pyannote.audio import Pipeline


pipeline = Pipeline.from_pretrained(
  "pyannote/speaker-diarization-3.1",
  use_auth_token="Your token"
)


# Apply the pipeline to the audio file
diarization = pipeline("/content/drive/MyDrive/audio/EP465-EP467Vayanalokamin2024RecentbooksIreadandlistened.mp3")
Could not download 'pyannote/segmentation-3.0' model.
It might be because the model is private or gated so make
sure to authenticate. Visit https://hf.co/settings/tokens to
create your access token and retry with:

   >>> Model.from_pretrained('pyannote/segmentation-3.0',
   ...                       use_auth_token=YOUR_AUTH_TOKEN)

If this still does not work, it might be because the model is gated:
visit https://hf.co/pyannote/segmentation-3.0 to accept the user conditions.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-12-67b02ac8da37> in <cell line: 0>()
     10 # )
     11 
---> 12 pipeline = Pipeline.from_pretrained(
     13   "pyannote/speaker-diarization-3.1",
     14   use_auth_token="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"

2 frames
/usr/local/lib/python3.11/dist-packages/pyannote/audio/pipelines/utils/getter.py in get_model(model, use_auth_token)
     87         )
     88 
---> 89     model.eval()
     90     return model
     91 

AttributeError: 'NoneType' object has no attribute 'eval'

Pls help

Reasons:
  • RegEx Blacklisted phrase (3): Pls help
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sanjay Raj V V