Whoops — something went wrong! An error has been logged

The app is working good locally, when deployed, it is uploading the image but cannot classify the image and showing ‘Whoops — something went wrong! An error has been logged’ error.

Here is the link for project: https://share.streamlit.io/shahrullo/age_gender_prediction_streamlit/main/app.py