Siddhant commited on
Commit
38787ca
1 Parent(s): f5a084e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -31,6 +31,8 @@ vad_iterator = VADIterator(
31
 
32
  def transcribe(stream, new_chunk):
33
  sr, y = new_chunk
 
 
34
  audio_int16 = np.frombuffer(y, dtype=np.int16)
35
  audio_float32 = int2float(audio_int16)
36
  vad_output = vad_iterator(torch.from_numpy(audio_float32))
 
31
 
32
  def transcribe(stream, new_chunk):
33
  sr, y = new_chunk
34
+ print(sr)
35
+ print(y.shape)
36
  audio_int16 = np.frombuffer(y, dtype=np.int16)
37
  audio_float32 = int2float(audio_int16)
38
  vad_output = vad_iterator(torch.from_numpy(audio_float32))