Spaces:
Build error
Build error
Update utils.py
Browse files
utils.py
CHANGED
@@ -621,9 +621,9 @@ class Utils_functions:
|
|
621 |
-2,
|
622 |
)
|
623 |
|
624 |
-
strg = (np.int16(abwvc * 32767.0))
|
625 |
## convert np.int16 array to float32 array
|
626 |
-
listToStr = ' '.join(map(str,
|
627 |
return (
|
628 |
np.clip(spec, -1.0, 1.0),
|
629 |
listToStr,
|
|
|
621 |
-2,
|
622 |
)
|
623 |
|
624 |
+
##strg = (np.int16(abwvc * 32767.0))
|
625 |
## convert np.int16 array to float32 array
|
626 |
+
listToStr = ' '.join(map(str, abwvc))
|
627 |
return (
|
628 |
np.clip(spec, -1.0, 1.0),
|
629 |
listToStr,
|