Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pbcquoc committed Oct 11, 2021
1 parent 549f5ee commit 8fda045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vietocr/tool/predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def predict_batch(self, imgs, return_prob=False):
sents[j] = sent[i]
probs[j] = prob[i]

if return_prob:
if return_prob:
return sents, probs
else:
return sents
Expand Down

0 comments on commit 8fda045

Please sign in to comment.