imorcillo commited on
Commit
da042e8
·
verified ·
1 Parent(s): b3d371b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -16,6 +16,7 @@ def audio_to_bytes(audio):
16
  audio_bytes = io.BytesIO()
17
  sf.write(audio_bytes, data, sr, format='WAV')
18
  audio_bytes.seek(0)
 
19
  return audio_bytes
20
 
21
  def langswitch_API_call(audio, language):
 
16
  audio_bytes = io.BytesIO()
17
  sf.write(audio_bytes, data, sr, format='WAV')
18
  audio_bytes.seek(0)
19
+ print(len(data), sr, len(data)/sr)
20
  return audio_bytes
21
 
22
  def langswitch_API_call(audio, language):