fix issue#8 import NameError

This commit is contained in:
shanshi 2023-12-12 15:41:58 +08:00
parent 95f150b08c
commit 2be6ffe4e0
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
import os
import sys
import logging
import torch
import openai
import base64
from .utils import is_running_in_docker
# 日志格式
LOG_FORMAT = "%(asctime)s - %(filename)s[line:%(lineno)d] - %(levelname)s: %(message)s"
logger = logging.getLogger()