Skip to content

Commit

Permalink
fix typo (#1488)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhendong authored Oct 28, 2024
1 parent 36a0e78 commit 72dc68c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python-api-examples/offline-speaker-diarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ def main():
f"Expected samples rate: {sd.sample_rate}, given: {sample_rate}"
)

show_porgress = True
show_progress = True

if show_porgress:
if show_progress:
result = sd.process(audio, callback=progress_callback).sort_by_start_time()
else:
result = sd.process(audio).sort_by_start_time()
Expand Down

0 comments on commit 72dc68c

Please sign in to comment.