You need to be careful about slug size when deploying on heroku. (Currently less than 500MB) If you google, you can find out how to reduce the slug size. If that doesn't work, just remove the packages you don't need for installation from django's requirements.txt. In my case, the size of Tensor-flow was large, which was the cause. </ b> </ u>