          """ Return the converter sub plugin """
          return PluginLoader._import("convert.{}".format(category), name)
  
      @staticmethod
      def _import(attr, name):
          """ Import the plugin's module """
          name = name.replace("-", "_")
          ttl = attr.split(".")[-1].title()
          logger.info("Loading %s from %s plugin...", ttl, name.title())
          attr = "model" if attr == "Trainer" else attr.lower()
 
</s> remove         logger.info("Loading %s from %s plugin...", ttl, name.title())
 </s> add         if not disable_logging:
            logger.info("Loading %s from %s plugin...", ttl, name.title())
 </s> remove         return PluginLoader._import("convert.{}".format(category), name)
 </s> add         return PluginLoader._import("convert.{}".format(category), name, disable_logging)
 </s> remove     def get_converter(category, name):
 </s> add     def get_converter(category, name, disable_logging=False):
 </s> remove         return PluginLoader._import("train.trainer", name)
 </s> add         return PluginLoader._import("train.trainer", name, disable_logging)
 </s> remove     def get_trainer(name):
 </s> add     def get_trainer(name, disable_logging=False):

    def _import(attr, name, disable_logging):

          """ Return the converter sub plugin """
          return PluginLoader._import("convert.{}".format(category), name)
  
      @staticmethod
    def _import(attr, name, disable_logging):
          """ Import the plugin's module """
          name = name.replace("-", "_")
          ttl = attr.split(".")[-1].title()
          logger.info("Loading %s from %s plugin...", ttl, name.title())
          attr = "model" if attr == "Trainer" else attr.lower()
keep keep keep keep 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 
plugins/plugin_loader.py