Qualitative Failures of Image Generation Models and Their Application in Detecting Deepfakes