An app that transforms photos of people’s faces into younger and older versions has gone viral.