nakas commited on
Commit
24bd69b
·
1 Parent(s): 3154aba

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -623,10 +623,10 @@ class Utils_functions:
623
 
624
  strg = (np.int16(abwvc * 32767.0))
625
  ## convert np.int16 array to float32 array
626
- strg = Arrays.toString(strg)
627
  return (
628
  np.clip(spec, -1.0, 1.0),
629
- strg,
630
  )
631
 
632
  def render_gradio(self, models_ls_1, models_ls_2, models_ls_3, train=True):
 
623
 
624
  strg = (np.int16(abwvc * 32767.0))
625
  ## convert np.int16 array to float32 array
626
+ listToStr = ' '.join(map(str, strg))
627
  return (
628
  np.clip(spec, -1.0, 1.0),
629
+ listToStr,
630
  )
631
 
632
  def render_gradio(self, models_ls_1, models_ls_2, models_ls_3, train=True):