Update custom_interface.py
Browse files- 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]
|