  from lib.Serializer import JSONSerializer
  
  from .utils import get_config
  from .popup_configure import popup_config
  
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 
</s> remove         self.clear_console()
 </s> add  </s> remove     def check_for_updates(self, encoding):
 </s> add     @staticmethod
    def check_for_updates(encoding): </s> remove             self.do_update(encoding)
 </s> add             success = self.do_update(encoding)
        update_deps.main(logger=logger)
        if success:
            logger.info("Please restart Faceswap to complete the update.") </s> remove             msg = "An error occurred during update. return code: {}".format(retcode)
 </s> add             logger.info("An error occurred during update. return code: %s", retcode)
            retval = False
import update_deps
  from lib.Serializer import JSONSerializer
  
import update_deps
  from .utils import get_config
  from .popup_configure import popup_config
  
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
keep add keep keep keep keep keep
 Update Dependencies Script

- Add script `update_deps.py` to automatically update dependencies
- Call update_deps.py when checking for updates from the GUI
- Update setup.py to respect requirements.txt sys_platform tags
- Update INSTALL.md 
lib/gui/menu.py