Error when deploy on predictor = dlib.shape_predictor

Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/drown_detect/main.py", line 10, in <module>
    predictor = dlib.shape_predictor("shape_predictor_68_face_landmarks.dat")

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:

Hi @neilzs

The dat file is indeed in the repo via Git LFS, however the error message did not mention much about the error. Can you look into the app’s log to find out more about the error:

To do this follow the instructions at:

Thanks for reply sir @dataprofessor,
The error log can be seen in the image, I don’t know what to do with this problem, help me

Hi @neilzs

Can you see the relevant StackOverflow post that shows some Solutions that you can try out (e.g. re-downloading the data file and see if that works).