moro23 commited on
Commit
daabb0b
1 Parent(s): fd3074f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def asr_transcript(input_file):
35
 
36
  speech = load_data(input_file)
37
  #Tokenize
38
- input_dict = tokenizer(speech, return_tensors="pt", sampling_rate=1600, padding=True)
39
  #Take logits
40
  logits = model(input_dict.input_values).logits
41
 
 
35
 
36
  speech = load_data(input_file)
37
  #Tokenize
38
+ input_dict = tokenizer(speech, return_tensors="pt", sampling_rate=16000, padding=True)
39
  #Take logits
40
  logits = model(input_dict.input_values).logits
41