Oysiyl commited on
Commit
4e17ec2
1 Parent(s): e4123bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def transcribe(audio):
12
  if sr != 16000:
13
  y = librosa.resample(y, orig_sr=sr, target_sr=16000)
14
 
15
- return transcriber({"sampling_rate": sr, "raw": y})["text"]
16
 
17
 
18
  demo = gr.Interface(
 
12
  if sr != 16000:
13
  y = librosa.resample(y, orig_sr=sr, target_sr=16000)
14
 
15
+ return transcriber({"sampling_rate": 16000, "raw": y})["text"]
16
 
17
 
18
  demo = gr.Interface(