C3_W3_Error_in_seq_and_pad_function


It says, “TypeError: ‘>=’ not supported between instances of ‘int’ and ‘tuple’”
Why it is throwing this error?

I have solved the problem. I have accidentally add “num_words” in the Tokenizer that caused the issue. Sorry for the inconvenience.