lucio commited on
Commit
a46e01b
1 Parent(s): 5c8e069

hope the sample rate converter works

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -46,9 +46,6 @@ def stt(audio: Tuple[int, np.array]):
46
  sample_rate, audio = audio
47
  use_scorer = False
48
 
49
- if sample_rate != 16000:
50
- raise ValueError("Incorrect sample rate.")
51
-
52
  recognized_result = client(audio, sample_rate, use_scorer)
53
 
54
  return recognized_result
 
46
  sample_rate, audio = audio
47
  use_scorer = False
48
 
 
 
 
49
  recognized_result = client(audio, sample_rate, use_scorer)
50
 
51
  return recognized_result