Deployment Issue on HF Spaces

Hi Devs.

I am attempting to deploy a Waste or Art classifier app on HuggingFace Spaces.
The app works fine on my local machine but produces the following error when run in the HF spaces container.


Can anyone suggest a fix?
Much appreciated.