Porjaz commited on
Commit
1f6b0bb
·
verified ·
1 Parent(s): e298aea

Update custom_interface.py

Browse files
Files changed (1) hide show
  1. custom_interface.py +1 -1
custom_interface.py CHANGED
@@ -24,7 +24,7 @@ class ASR(Pretrained):
24
 
25
  prediction = []
26
  for sent in predicted_words:
27
- sent = filter_repetitions(sent, 3)
28
  sent = " ".join(sent)
29
  prediction.append(sent)
30
  predicted_words = prediction[0]
 
24
 
25
  prediction = []
26
  for sent in predicted_words:
27
+ sent = self.filter_repetitions(sent, 3)
28
  sent = " ".join(sent)
29
  prediction.append(sent)
30
  predicted_words = prediction[0]