Spaces:
Build error
Build error
Update utils.py
Browse files
utils.py
CHANGED
@@ -621,10 +621,10 @@ class Utils_functions:
|
|
621 |
-2,
|
622 |
)
|
623 |
|
624 |
-
|
625 |
return (
|
626 |
np.clip(spec, -1.0, 1.0),
|
627 |
-
|
628 |
)
|
629 |
|
630 |
def render_gradio(self, models_ls_1, models_ls_2, models_ls_3, train=True):
|
|
|
621 |
-2,
|
622 |
)
|
623 |
|
624 |
+
|
625 |
return (
|
626 |
np.clip(spec, -1.0, 1.0),
|
627 |
+
(np.int16(abwvc * 32767.0)),
|
628 |
)
|
629 |
|
630 |
def render_gradio(self, models_ls_1, models_ls_2, models_ls_3, train=True):
|