          for phase in range(self._extractor.passes):
              if exception:
                  break
              is_final = self._extractor.final_pass
              detected_faces = dict()
              self._extractor.launch()
              self._check_thread_error()
              ph_desc = "Extraction" if self._extractor.passes == 1 else self._extractor.phase_text
              desc = "Running pass {} of {}: {}".format(phase + 1,
                                                        self._extractor.passes,
 
</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         func = getattr(self, "_{}".format(task))
 </s> add         func = getattr(self, f"_{task}") </s> remove             output_filename = "{}_{}{}".format(filename, str(idx), extension)
 </s> add             output_filename = f"{filename}_{idx}{extension}" </s> remove         final_faces = list()
 </s> add         final_faces = [] </s> remove     def __init__(self, arguments):
 </s> add     def __init__(self, arguments: argparse.Namespace) -> None:
            detected_faces = {}
          for phase in range(self._extractor.passes):
              if exception:
                  break
              is_final = self._extractor.final_pass
            detected_faces = {}
              self._extractor.launch()
              self._check_thread_error()
              ph_desc = "Extraction" if self._extractor.passes == 1 else self._extractor.phase_text
              desc = "Running pass {} of {}: {}".format(phase + 1,
                                                        self._extractor.passes,
keep keep keep keep replace keep keep keep keep keep
 bugfix: extract - stop progress bar from going over max value 
scripts/extract.py