RuntimeError: Error deserializing object of type int on dlib.shape_predicto

Error:

and this Error log

Please help me,
This code runs normally without problems but when deploying it becomes a problem, help me to solve this problem, the dat file is already in the same dir, why is the error, this is for github:

Facing the same issue with β€œshape_predictor_68_face_landmarks.dat” file. The code works fine on localhost.