fix issue#8 import NameError
This commit is contained in:
parent
95f150b08c
commit
2be6ffe4e0
|
@ -1,6 +1,10 @@
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
import logging
|
import logging
|
||||||
import torch
|
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"
|
LOG_FORMAT = "%(asctime)s - %(filename)s[line:%(lineno)d] - %(levelname)s: %(message)s"
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
|
|
Loading…
Reference in New Issue