AI4Bharat / IndicLID

Language Identification for Indian languages
12 stars 4 forks source link

added a return statement to fix predict functionality #5

Open shrimad-mishra opened 9 months ago

shrimad-mishra commented 9 months ago

I was exploring the amazing model you have made but found a issue in the predict function inside IndicLID.py file where you are calling the self.batch_predict(input_list, 1) and in that batch_predict you are returning the prediction but in predict you are not returning the output got from the self.batch_predict(input_list, 1) function.

shrimad-mishra commented 4 months ago

@yashmadhani97 @anoopkunchukuttan please check this and give a go ahead