DeepDream example from deep learning with python book by francois chollet


I am using deep learning with python by Francois Chollet to learn Keras and i have been trying do deepdream example.
i am getting this error and i am not sure what to do.

Can you also post the imports cell content?