Skip to content

Commit

Permalink
fixed #393
Browse files Browse the repository at this point in the history
  • Loading branch information
jianfch committed Aug 24, 2024
1 parent e0e7183 commit 1ee47ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1046,8 +1046,8 @@ Docstring:
Precision of refined timestamps in seconds. The lowest precision is 0.02 second.
single_batch : bool, default False
Whether to process in only batch size of one to reduce memory usage.
inplace : bool, default True, meaning return a deepcopy of ``result``
Whether to alter timestamps in-place.
inplace : bool, default True
Whether to alter timestamps in-place. Return a deepcopy of ``result`` if ``False``.
demucs : bool or torch.nn.Module, default False
Whether to preprocess ``audio`` with Demucs to isolate vocals / remove noise. Set ``demucs`` to an instance of
a Demucs model to avoid reloading the model for each run.
Expand Down
4 changes: 2 additions & 2 deletions stable_whisper/alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,8 +767,8 @@ def refine(
Precision of refined timestamps in seconds. The lowest precision is 0.02 second.
single_batch : bool, default False
Whether to process in only batch size of one to reduce memory usage.
inplace : bool, default True, meaning return a deepcopy of ``result``
Whether to alter timestamps in-place.
inplace : bool, default True
Whether to alter timestamps in-place. Return a deepcopy of ``result`` if ``False``.
denoiser : str, optional
String of the denoiser to use for preprocessing ``audio``.
See ``stable_whisper.audio.SUPPORTED_DENOISERS`` for supported denoisers.
Expand Down

0 comments on commit 1ee47ce

Please sign in to comment.