Spaces:
Build error
Build error
Update utils.py
Browse files
utils.py
CHANGED
@@ -622,7 +622,8 @@ class Utils_functions:
|
|
622 |
)
|
623 |
|
624 |
return (
|
625 |
-
(
|
|
|
626 |
)
|
627 |
|
628 |
def render_gradio(self, models_ls_1, models_ls_2, models_ls_3, train=True):
|
@@ -662,7 +663,8 @@ class Utils_functions:
|
|
662 |
),
|
663 |
],
|
664 |
outputs=[
|
665 |
-
gr.
|
|
|
666 |
],
|
667 |
title="musika!",
|
668 |
description="Blazingly Fast 44.1 kHz Stereo Waveform Music Generation of Arbitrary Length. Be patient and enjoy the weirdness!",
|
|
|
622 |
)
|
623 |
|
624 |
return (
|
625 |
+
np.clip(spec, -1.0, 1.0),
|
626 |
+
(np.int16(abwvc * 32767.0)),
|
627 |
)
|
628 |
|
629 |
def render_gradio(self, models_ls_1, models_ls_2, models_ls_3, train=True):
|
|
|
663 |
),
|
664 |
],
|
665 |
outputs=[
|
666 |
+
gr.Image(label="Log-MelSpectrogram of Generated Audio (first 23 s)"),
|
667 |
+
"text",
|
668 |
],
|
669 |
title="musika!",
|
670 |
description="Blazingly Fast 44.1 kHz Stereo Waveform Music Generation of Arbitrary Length. Be patient and enjoy the weirdness!",
|