Skip to content

Commit

Permalink
Update result.py
Browse files Browse the repository at this point in the history
-fixed docstring for WhisperResult.lock()
  • Loading branch information
jianfch committed Sep 29, 2023
1 parent 384fc3c commit 05bba74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stable_whisper/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -1047,9 +1047,9 @@ def lock(
endswith: Union[str, bool]
String or list of string(s) to check if word/segment start with.
right: bool
Whether prevent splits/merges with the previous word/segment. (Default: True)
Whether prevent splits/merges with the next word/segment. (Default: True)
left: bool
Whether prevent splits/merges with the next word/segment. (Default: False)
Whether prevent splits/merges with the previous word/segment. (Default: False)
case_sensitive: bool
Whether to match the case of the prefix/suffix with the words/segment. (Default: False)
Expand Down

0 comments on commit 05bba74

Please sign in to comment.