                  logger.debug("EOF Received")
                  logger.debug("Patch queue finished")
                  # Signal EOF to other processes in pool
                  logger.debug("Putting EOF back to in_queue")
                  in_queue.put(items)
                  break
  
              if isinstance(items, dict):
                  items = [items]
              for item in items:
 
</s> remove             items = in_queue.get()
            if items == "EOF":
 </s> add             inbound: Union[Literal["EOF"], "ConvertItem", List["ConvertItem"]] = in_queue.get()
            if inbound == "EOF": </s> remove             if isinstance(items, dict):
                items = [items]
 </s> add             items = inbound if isinstance(inbound, list) else [inbound] </s> remove                 logger.trace("Patch queue got: '%s'", item["filename"])
 </s> add                 logger.trace("Patch queue got: '%s'", item.inbound.filename)  # type: ignore </s> remove                 items = self._predictor.out_queue.get()
 </s> add                 items: Union[Literal["EOF"],
                             List[Tuple[ConvertItem,
                                        np.ndarray]]] = self._predictor.out_queue.get() </s> remove         logger.trace("fed %s swapped faces to converter", len(samples.predicted_images))
        logger.trace("Putting EOF to converter")
 </s> add         logger.trace("fed %s swapped faces to converter",  # type: ignore
                     len(samples.predicted_images))
        logger.trace("Putting EOF to converter")  # type: ignore
                in_queue.put(inbound)
                  logger.debug("EOF Received")
                  logger.debug("Patch queue finished")
                  # Signal EOF to other processes in pool
                  logger.debug("Putting EOF back to in_queue")
                in_queue.put(inbound)
                  break
  
              if isinstance(items, dict):
                  items = [items]
              for item in items:
keep keep keep keep replace keep keep keep keep keep
 Bugfix: convert - Gif Writer
  - Fix non-launch error on Gif Writer
  - convert plugins - linting
  - convert/fs_media/preview/queue_manager - typing
  - Change convert items from dict to Dataclass 
lib/convert.py