  from pathlib import Path
  from re import finditer
  
  import numpy as np
  import cv2
  
 
</s> remove import cv2
 </s> add  </s> remove from tqdm import tqdm
 </s> add  </s> remove from lib.utils import safe_shutdown
 </s> add from lib.utils import FaceswapError, safe_shutdown </s> remove     logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 </s> add     logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
from tqdm import tqdm
  from pathlib import Path
  from re import finditer
from tqdm import tqdm
  
  import numpy as np
  import cv2
  
keep add keep keep keep keep
 FaceswapError Exception. Added to cli and utils 
lib/utils.py