Spaces:
Running
on
T4
Running
on
T4
Update spectro.py
Browse files- 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
|
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 |
"""
|