Predict_tweet() function

It’s saying TypeError: Expected a string or byte object.

Need a little help

You are passing an incorrect first argument to extract_features. Check the definition of that function. Also notice that it calls process_tweet internally.

1 Like

Thanks for your help.