taejinp commited on
Commit
ca79a82
·
verified ·
1 Parent(s): f812290

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -177,11 +177,11 @@ where each line is a dictionary containing the following fields:
177
 
178
  ### Getting Diarization Results
179
  To perform speaker diarization and get a list of speaker-marked speech segments in the format 'begin_seconds, end_seconds, speaker_index', simply use:
180
- ```python
181
  predicted_segments = diar_model.diarize(audio=audio_input, batch_size=1)
182
  ```
183
  To obtain tensors of speaker activity probabilities, use:
184
- ```python
185
  predicted_segments, predicted_probs = diar_model.diarize(audio=audio_input, batch_size=1, include_tensor_outputs=True)
186
  ```
187
 
 
177
 
178
  ### Getting Diarization Results
179
  To perform speaker diarization and get a list of speaker-marked speech segments in the format 'begin_seconds, end_seconds, speaker_index', simply use:
180
+ ```python3
181
  predicted_segments = diar_model.diarize(audio=audio_input, batch_size=1)
182
  ```
183
  To obtain tensors of speaker activity probabilities, use:
184
+ ```python3
185
  predicted_segments, predicted_probs = diar_model.diarize(audio=audio_input, batch_size=1, include_tensor_outputs=True)
186
  ```
187