Predict function predict(input, output) supports either int/int or float/float.?

Hello conmunity
I downloated an exaple form teachable but I am having a lot of problems when I try to compile it to my Nano 33 ble sense
Here I will attach my code and an screenshot showing the error
I am using this tensor flow library and I think that error is with this library but I am not really sure

I hope you can help me

Welcome to the forum

Please post your code and error message as text here rather than posting links and pictures

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination