def generate_output(self, args=None):
        """
        Generate output, used by the Generic Agent.

        :param args:
        :return:
        """
        if not args:
            print('WARNING! LudwigNLG called without arguments!')
            return ''

        if 'dacts' not in args:
            print('WARNING! LudwigNLG called without dacts!')
            return ''

        dacts = args['dacts']

        if not self.model:
            print('ERROR! Ludwig nlg model not initialized!')
            return pd.DataFrame({'empty': [0]})

        return self.model.predict(pd.DataFrame(data={'nlg_input': [dacts]}))

        Generate output, used by the Generic Agent.

        :param args:
        :return:
        
plato/agent/component/nlg/ludwig_nlg.py