  
  from lib.Serializer import JSONSerializer
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  _CONFIG = None
  _IMAGES = None
 
</s> remove logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 </s> add logger = logging.getLogger(__name__)  # pylint:disable=invalid-name </s> remove from .utils import adjust_wraplength, get_config, get_images, ContextMenu, set_slider_rounding
 </s> add from .utils import adjust_wraplength, get_config, get_images, ControlBuilder </s> remove class CommandNotebook(ttk.Notebook):  # pylint: disable=too-many-ancestors
 </s> add class CommandNotebook(ttk.Notebook):  # pylint:disable=too-many-ancestors </s> remove     _IMAGES = Images()
 </s> add     _IMAGES = Images(pathcache) </s> remove def initialize_images():
    """ Initialize the config and add to global constant """
 </s> add def initialize_images(pathcache=None):
    """ Initialize the images and add to global constant """
from .tooltip import Tooltip
  
  from lib.Serializer import JSONSerializer
from .tooltip import Tooltip
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  _CONFIG = None
  _IMAGES = None
keep add keep keep keep keep
 Convert settings tool (#737)

* Initial prediction pipeline and display

* Patch faces from convert pipeline. Load configs

* Add tkinter canvas for image display

* Radio buttons to config gui. Standardise config gui. Remove dssim loss from realface

* Add action frame

* Live update cli options

* Live update config changes

* Quicker frame loading. Refresh faces button callback

* remove debug code

* Add saving and reloading config buttons

* Reduce lag with threading

* Busy indicator + geometry updates

* Fix options canvas resizing

* Add global config saving and resetting

* tools to own tab

* Rename tool to 'preview'

* geometry tweak

* pep8 fixes 
lib/gui/utils.py