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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ def parse_transcription_with_lm(wav_file):
31
  print(logits)
32
  int_result = processor_with_LM.decode(logits = logits, output_word_offsets=False,
33
  beam_width=128,
34
- alpha=2,
35
- beta=-1
36
  )
37
  print(int_result)
38
  transcription = int_result.text.replace('<s>','')
 
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>','')