Perceptrom model error

can you pls help me with a deep learning perceptron model trouble which im getting while executing program

this the link to error program

pls someone help me solve it and messge me back a error free program

That notebook runs fine on my end. How can we reproduce this error?