We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 119b900 commit c0dfbd7Copy full SHA for c0dfbd7
dateparser/custom_language_detection/fasttext_wrapper.py
@@ -27,6 +27,7 @@ def check(entry):
27
else:
28
probs, labels = ([], ())
29
30
+ # Using np.asarray(probs) to avoid errors in the test
31
return labels, np.asarray(probs)
32
33
0 commit comments