  import sys
  
  from tqdm import tqdm
  
  from lib.image import encode_image_with_hash, ImagesLoader, ImagesSaver
  from lib.multithreading import MultiThread
  from lib.utils import get_folder
  from plugins.extract.pipeline import Extractor, ExtractMedia
  from scripts.fsmedia import Alignments, PostProcess, finalize
  
 
</s> remove         Loads the aligned face, perform any processing actions and verify the output.
 </s> add         Loads the aligned face, generate the thumbnail, perform any processing actions and verify
        the output. </s> remove 
 </s> add             face.thumbnail = generate_thumbnail(face.aligned_face, size=80, quality=60)
from lib.image import encode_image_with_hash, generate_thumbnail, ImagesLoader, ImagesSaver
  import sys
  
  from tqdm import tqdm
  
from lib.image import encode_image_with_hash, generate_thumbnail, ImagesLoader, ImagesSaver
  from lib.multithreading import MultiThread
  from lib.utils import get_folder
  from plugins.extract.pipeline import Extractor, ExtractMedia
  from scripts.fsmedia import Alignments, PostProcess, finalize
  
keep keep keep keep replace keep keep keep keep keep
 scripts.extract - Save jpg thumbnails to alignments file 
scripts/extract.py