rrevo commited on
Commit
4f40fa8
·
1 Parent(s): b9fb710

prev chunk

Browse files
Files changed (1) hide show
  1. client/src/main.py +2 -2
client/src/main.py CHANGED
@@ -58,10 +58,10 @@ def main():
58
  print('start serialize')
59
  if prev_audio_array:
60
  serialized = pickle.dumps(
61
- np.concatenate(
62
  prev_audio_array,
63
  current_audio_chunk.audio_array
64
- )
65
  )
66
  else:
67
  serialized = pickle.dumps(current_audio_chunk.audio_array)
 
58
  print('start serialize')
59
  if prev_audio_array:
60
  serialized = pickle.dumps(
61
+ np.concatenate((
62
  prev_audio_array,
63
  current_audio_chunk.audio_array
64
+ ))
65
  )
66
  else:
67
  serialized = pickle.dumps(current_audio_chunk.audio_array)