Skip to content

Commit

Permalink
Fix typo (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
McCloudS authored Mar 25, 2024
1 parent 424f484 commit dbee5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stable_whisper/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def add(self, other: 'Segment', copy_words: bool = False):
else:
self_state = 'with' if self.ori_has_words else 'without'
other_state = 'with' if other.ori_has_words else 'without'
raise ValueError(f'Can merge segment {self_state} words and a segment {other_state} words.')
raise ValueError(f'Can't merge segment {self_state} words and a segment {other_state} words.')

self_copy = self.copy(words, copy_words=copy_words)
_combine_attr(self_copy, other, 'temperature')
Expand Down

0 comments on commit dbee5c5

Please sign in to comment.