Commit 58c07060 by ‘chizw’

[+]配置优化

1 parent 631347ea
Showing 1 changed file with 0 additions and 1 deletions
...@@ -18,7 +18,6 @@ from pydantic import BaseModel ...@@ -18,7 +18,6 @@ from pydantic import BaseModel
from mysql_service import funasr_db from mysql_service import funasr_db
from kafka_service import funasr_consumer from kafka_service import funasr_consumer
# 获取当前文件所在目录的绝对路径
current_dir = os.path.dirname(os.path.abspath(__file__)) current_dir = os.path.dirname(os.path.abspath(__file__))
# 将根目录添加到 Python 解释器的搜索路径中 # 将根目录添加到 Python 解释器的搜索路径中
root_dir = os.path.join(current_dir, '..') # 假设根目录是当前目录的父目录 root_dir = os.path.join(current_dir, '..') # 假设根目录是当前目录的父目录
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!