Ah, forgot to add PIL to the requirements.txt. Fixed.