nakas commited on
Commit
2374567
·
1 Parent(s): a8c7cbe

Update utils.py

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