Harveenchadha commited on
Commit
e273092
1 Parent(s): 2f0f118

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -30,9 +30,7 @@ def parse_transcription_with_lm(wav_file):
30
  logits = model(**input_values).logits[0].cpu().numpy()
31
  print(logits)
32
  int_result = processor_with_LM.decode(logits = logits, output_word_offsets=False,
33
- beam_width=128,
34
- alpha=2.0,
35
- beta=-1.0
36
  )
37
  print(int_result)
38
  transcription = int_result.text.replace('<s>','')
 
30
  logits = model(**input_values).logits[0].cpu().numpy()
31
  print(logits)
32
  int_result = processor_with_LM.decode(logits = logits, output_word_offsets=False,
33
+ beam_width=128
 
 
34
  )
35
  print(int_result)
36
  transcription = int_result.text.replace('<s>','')