          filename = os.path.splitext(os.path.basename(extract_media.filename))[0]
          extension = ".png"
  
          for idx, face in enumerate(extract_media.detected_faces):
              output_filename = "{}_{}{}".format(filename, str(idx), extension)
              meta = dict(alignments=face.to_png_meta(),
                          source=dict(alignments_version=self._alignments.version,
                                      original_filename=output_filename,
                                      face_index=idx,
                                      source_filename=os.path.basename(extract_media.filename),
 
</s> remove         final_faces = list()
 </s> add         final_faces = [] </s> remove             desc = "Running pass {} of {}: {}".format(phase + 1,
                                                      self._extractor.passes,
                                                      ph_desc)
            status_bar = tqdm(self._extractor.detected_faces(),
                              total=self._images.process_count,
                              file=sys.stdout,
                              desc=desc)
            for idx, extract_media in enumerate(status_bar):
 </s> add             desc = f"Running pass {phase + 1} of {self._extractor.passes}: {ph_desc}"
            for idx, extract_media in enumerate(tqdm(self._extractor.detected_faces(),
                                                     total=self._images.process_count,
                                                     file=sys.stdout,
                                                     desc=desc)): </s> remove     def _output_faces(self, saver, extract_media):
 </s> add     def _output_faces(self, saver: ImagesSaver, extract_media: ExtractMedia) -> None: </s> remove             detected_faces = dict()
 </s> add             detected_faces = {} </s> remove         self._threads = list()
 </s> add         self._threads = []
            output_filename = f"{filename}_{idx}{extension}"
          filename = os.path.splitext(os.path.basename(extract_media.filename))[0]
          extension = ".png"
  
          for idx, face in enumerate(extract_media.detected_faces):
            output_filename = f"{filename}_{idx}{extension}"
              meta = dict(alignments=face.to_png_meta(),
                          source=dict(alignments_version=self._alignments.version,
                                      original_filename=output_filename,
                                      face_index=idx,
                                      source_filename=os.path.basename(extract_media.filename),
keep keep keep keep replace keep keep keep keep keep
 bugfix: extract - stop progress bar from going over max value 
scripts/extract.py