      """ return the _CONFIG constant """
      return _CONFIG
  
  
  def initialize_images():
      """ Initialize the config and add to global constant """
      global _IMAGES  # pylint: disable=global-statement
      if _IMAGES is not None:
          return
      logger.debug("Initializing images")
      _IMAGES = Images()
 
</s> remove     _IMAGES = Images()
 </s> add     _IMAGES = Images(pathcache)
def initialize_images(pathcache=None):
    """ Initialize the images and add to global constant """
      """ return the _CONFIG constant """
      return _CONFIG
  
  
def initialize_images(pathcache=None):
    """ Initialize the images and add to global constant """
def initialize_images(pathcache=None):
    """ Initialize the images and add to global constant """
      global _IMAGES  # pylint: disable=global-statement
      if _IMAGES is not None:
          return
      logger.debug("Initializing images")
      _IMAGES = Images()
keep keep keep keep replace replace keep 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