server.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:Rasa_NLU_Chi 作者: crownpku 项目源码 文件源码
def __init__(self, config, component_builder=None, testing=False):
        logging.basicConfig(filename=config['log_file'],
                            level=config['log_level'])
        logging.captureWarnings(True)
        logger.debug("Configuration: " + config.view())

        logger.debug("Creating a new data router")
        self.config = config
        self.data_router = self._create_data_router(config, component_builder)
        self._testing = testing
        reactor.suggestThreadPoolSize(config['num_threads'] * 5)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号