I keep getting the error <class 'keras.callbacks.History'>, but got: <class 'NoneType'>

[code removed - moderator]

I keep getting this error
image

Your notebook is outdated. Please refresh your workspace and try again.
See Refresh your Lab Workspace section here

image
I am getting this now. I dont know where the error is. While running the notebook, I dont get any error.

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

@Khushi_Mattu

You just messaged me the starter code for the lab. Please complete the lab and then submit your for grading.

Don’t change a cell type from a code cell to a markdown. The grader could very well skip over the cell to be graded.

Please refresh your workspace and try again.