Harveenchadha commited on
Commit
975c18c
1 Parent(s): 5b6d82c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,9 +41,9 @@ def parse(wav_file, applyLM):
41
  logits = model(**input_values).logits
42
 
43
  if applyLM:
44
- return parse_transcription_with_lm(wav_file)
45
  else:
46
- return parse_transcription(wav_file)
47
 
48
 
49
  model_id = "Harveenchadha/vakyansh-wav2vec2-hindi-him-4200"
 
41
  logits = model(**input_values).logits
42
 
43
  if applyLM:
44
+ return parse_transcription_with_lm(logits)
45
  else:
46
+ return parse_transcription(logits)
47
 
48
 
49
  model_id = "Harveenchadha/vakyansh-wav2vec2-hindi-him-4200"