              item = queue_out.get()
              swapped.append(item[1])
              logger.trace("Patched image %s of %s", idx + 1, sample_size)  # type: ignore
              idx += 1
          logger.trace("Patched faces")  # type: ignore
          return swapped
  
  
  @dataclass
  class _Faces:
 
</s> remove             logger.trace("Patched image %s of %s", idx + 1, sample_size)  # type: ignore
 </s> add             logger.debug("Patched image %s of %s", idx + 1, sample_size) </s> remove             logger.trace("Patching image %s of %s", idx + 1, sample_size)  # type: ignore
 </s> add             logger.debug("Patching image %s of %s", idx + 1, sample_size) </s> remove         logger.trace("Patching faces")  # type: ignore
 </s> add         logger.debug("Patching faces") </s> remove         logger.trace("fed %s swapped faces to converter",  # type: ignore
 </s> add         logger.debug("fed %s swapped faces to converter", </s> remove         logger.trace("feeding swapped faces to converter")  # type: ignore
 </s> add         logger.debug("feeding swapped faces to converter")
        logger.debug("Patched faces")
              item = queue_out.get()
              swapped.append(item[1])
              logger.trace("Patched image %s of %s", idx + 1, sample_size)  # type: ignore
              idx += 1
        logger.debug("Patched faces")
          return swapped
  
  
  @dataclass
  class _Faces:
keep keep keep keep replace keep keep keep keep keep
 bugfix:
    - preview tool - Prevent tkinter variables from exiting main thread
refactor:
    - preview tool - Split module to smaller sub-modules + docs, locales
Typing:
    - tools.preview.cli
Unit test:
    - tools.preview.viewer 
tools/preview/preview.py