  
      def build_args(self, category, command=None, generate=False):
          """ Build the faceswap command and arguments list.
  
          If training, pass the model folder and name to the training :class:`lib.gui.stats.Session`
          for the GUI.
          """
          logger.debug("Build cli arguments: (category: %s, command: %s, generate: %s)",
                       category, command, generate)
          command = self.command if not command else command
          script = "{}.{}".format(category, "py")
 
</s> remove         :class:`lib.gui.stats.Calculations`
 </s> add         :class:`lib.gui.analysis.Calculations` </s> remove         session: :class:`lib.gui.stats.Session`
 </s> add         session: :class:`lib.gui.analysis.Session` </s> remove             The keyword arguments to pass to `lib.gui.stats.Calculations`
 </s> add             The keyword arguments to pass to `lib.gui.analysis.Calculations` </s> remove from .stats import Session
 </s> add from .analysis import Session </s> remove from .stats import Session
 </s> add from .analysis import Session
        If training, pass the model folder and name to the training
        :class:`lib.gui.analysis.Session` for the GUI.
  
      def build_args(self, category, command=None, generate=False):
          """ Build the faceswap command and arguments list.
  
        If training, pass the model folder and name to the training
        :class:`lib.gui.analysis.Session` for the GUI.
        If training, pass the model folder and name to the training
        :class:`lib.gui.analysis.Session` for the GUI.
          """
          logger.debug("Build cli arguments: (category: %s, command: %s, generate: %s)",
                       category, command, generate)
          command = self.command if not command else command
          script = "{}.{}".format(category, "py")
keep keep keep keep replace replace keep keep keep keep keep
 gui.analysis - Fixups
  - Refactor stats and analysis code
  - Fix rollover data bug on live training
  - Update documentation 
lib/gui/wrapper.py