Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def wav_bytes_from_spectrogram_image(image):
|
|
61 |
return wav_bytes
|
62 |
|
63 |
def spectrogram_from_image(
|
64 |
-
image
|
65 |
) -> np.ndarray:
|
66 |
"""
|
67 |
Compute a spectrogram magnitude array from a spectrogram image.
|
|
|
61 |
return wav_bytes
|
62 |
|
63 |
def spectrogram_from_image(
|
64 |
+
image, max_volume: float = 50, power_for_image: float = 0.25
|
65 |
) -> np.ndarray:
|
66 |
"""
|
67 |
Compute a spectrogram magnitude array from a spectrogram image.
|