Submission of the notebook

When I try to submit, I get this error:
There was a problem compiling the code from your notebook. Details:
‘NoneType’ object has no attribute ‘compile’
Have you any idea what to do, plz?

Please replace this line in the notebook with your actual model definition:
model = None