mazesmazes commited on
Commit
3878fe5
·
verified ·
1 Parent(s): ee62d5d

Update custom model files, README, and requirements

Browse files
Files changed (1) hide show
  1. asr_pipeline.py +1 -4
asr_pipeline.py CHANGED
@@ -229,10 +229,7 @@ class SpeakerDiarizer:
229
  # Some versions return (annotation, embeddings) tuple
230
  annotation = diarization[0]
231
  else:
232
- raise TypeError(
233
- f"Unexpected diarization output type: {type(diarization)}. "
234
- f"Attributes: {[a for a in dir(diarization) if not a.startswith('_')]}"
235
- )
236
 
237
  # Convert to simple format
238
  segments = []
 
229
  # Some versions return (annotation, embeddings) tuple
230
  annotation = diarization[0]
231
  else:
232
+ raise TypeError(f"Unexpected diarization output type: {type(diarization)}")
 
 
 
233
 
234
  # Convert to simple format
235
  segments = []