Harveenchadha commited on
Commit
5c60e25
1 Parent(s): 263d184

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def parse_transcription_with_lm(wav_file):
25
  input_values = read_file_and_process(wav_file)
26
 
27
  with torch.no_grad():
28
- logits = model(**input_values).logits
29
  print(logits)
30
  int_result = processor_with_LM.decode(logits)
31
  print(int_result)
 
25
  input_values = read_file_and_process(wav_file)
26
 
27
  with torch.no_grad():
28
+ logits = model(**input_values).logits[0]
29
  print(logits)
30
  int_result = processor_with_LM.decode(logits)
31
  print(int_result)