style(config): 移除配置文件中的多余注释和环境变量设置
- 移除了 config.yaml 中的注释行 - 移除了 app/core/logging.py 中多余的空格 - 移除了 app/main.py 中的环境变量设置代码 - 移除了 app/main.py 中未使用的导入语句
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ def setup_logging() -> None:
|
||||
log_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
logger.add(
|
||||
log_dir / "{time:YYYY-MM-DD}.log",
|
||||
log_dir /"{time:YYYY-MM-DD}.log",
|
||||
rotation=config.logging.rotation,
|
||||
retention=config.logging.retention,
|
||||
enqueue=True,
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
os.environ["MEDIAPIPE_DISABLE_LOGGING"] = "1"
|
||||
os.environ["GLOG_minloglevel"] = "3"
|
||||
|
||||
import asyncio
|
||||
|
||||
from loguru import logger
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ video:
|
||||
process_every_n_frames: 1
|
||||
|
||||
model:
|
||||
path: "./pose_models/pose_landmarker_full.task" # empty = auto-detect pose_models/pose_landmarker_full.task
|
||||
path: "./pose_models/pose_landmarker_full.task"
|
||||
prefer_gpu: true
|
||||
|
||||
dead_bug:
|
||||
|
||||
Reference in New Issue
Block a user