reformat model_config.py.example

This commit is contained in:
imClumsyPanda 2023-08-17 21:31:30 +08:00
parent 4318197ac7
commit 7f7238168c
1 changed files with 0 additions and 3 deletions

View File

@ -1,14 +1,11 @@
import os
import logging
import torch
import argparse
import json
# 日志格式
LOG_FORMAT = "%(asctime)s - %(filename)s[line:%(lineno)d] - %(levelname)s: %(message)s"
logger = logging.getLogger()
logger.setLevel(logging.INFO)
logging.basicConfig(format=LOG_FORMAT)
import json
# 在以下字典中修改属性值以指定本地embedding模型存储位置