Fit_on_texts() missing 1 required positional argument: 'texts'

the arguemets that i have passed is :
label_tokenizer.fit_on_texts(all_labels)
what i am supposedto do?

Please click my name and message your notebook as an attachment.

See the line label_tokenizer = .... You should create an instance and not use the class directly.