Skip to content

Commit

Permalink
Add missing arguments to docstring (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlthome authored Aug 28, 2023
1 parent 5ecdc68 commit 7cee852
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions audiocraft/data/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ def audio_write(stem_name: tp.Union[str, Path],
Args:
stem_name (str or Path): Filename without extension which will be added automatically.
wav (torch.Tensor): Audio data to save.
sample_rate (int): Sample rate of audio data.
format (str): Either "wav" or "mp3".
mp3_rate (int): kbps when using mp3s.
normalize (bool): if `True` (default), normalizes according to the prescribed
Expand Down

0 comments on commit 7cee852

Please sign in to comment.