fcernafukuzaki commited on
Commit
b70e105
·
verified ·
1 Parent(s): 8bf9f96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def transcribe_2(audio_bytes):
51
  #request = speech_v1.RecognizeSpeechRequest(config=config, audio=audio)
52
  print(type(audio_bytes))
53
  sr, y = audio_bytes
54
- print(type(sr))
55
  print(type(y))
56
  y = y.astype(np.float32)
57
  y /= np.max(np.abs(y))
 
51
  #request = speech_v1.RecognizeSpeechRequest(config=config, audio=audio)
52
  print(type(audio_bytes))
53
  sr, y = audio_bytes
54
+ print(f"{type(sr)} {sr}")
55
  print(type(y))
56
  y = y.astype(np.float32)
57
  y /= np.max(np.abs(y))