fffiloni commited on
Commit
b15b6e4
1 Parent(s): c4e12c1

Update spectro.py

Browse files
Files changed (1) hide show
  1. spectro.py +1 -1
spectro.py CHANGED
@@ -12,7 +12,7 @@ import torch
12
  import torchaudio
13
 
14
 
15
- def wav_bytes_from_spectrogram_image(image: Image.Image, sample_duration) -> T.Tuple[io.BytesIO, float]:
16
  """
17
  Reconstruct a WAV audio clip from a spectrogram image. Also returns the duration in seconds.
18
  """
 
12
  import torchaudio
13
 
14
 
15
+ def wav_bytes_from_spectrogram_image(image: Image.Image) -> T.Tuple[io.BytesIO, float]:
16
  """
17
  Reconstruct a WAV audio clip from a spectrogram image. Also returns the duration in seconds.
18
  """