it shows value error , I'm not able to figure out why
inside predict_class
res=model.predict(np.array([bow]))[0]
inside while loop to input user statement and predict suitable statements from the model
message=input("You : ") msg=predict_class(message)
1.4m articles
1.4m replys
5 comments
56.9k users