Course 4 alpaca_model preprocessing function

Hello,
I am having a problem figuring out the argument for the preprocessing function. Any hints will be much appreciated!
Here is the error I keep getting when I run the model:
‘function’ object has no attribute ‘preprocess_input’

I tried this (tf.keras.applications.mobilenet_v2.preprocess_input) but I’m still having the same error

[solved]
I forgot to use x as an input in the base_model as well.

I have same issue, can you tell me how to solve this?