caidaoli commited on
Commit
6ce57fa
·
verified ·
1 Parent(s): 24d8954

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ class Logger:
82
  self.logger.bind(**caller_info).info(f"请求: {request.method} {request.path}", "Request")
83
 
84
  logger = Logger(level="INFO")
85
- DATA_DIR = Path("./data")
86
 
87
  if not DATA_DIR.exists():
88
  DATA_DIR.mkdir(parents=True, exist_ok=True)
 
82
  self.logger.bind(**caller_info).info(f"请求: {request.method} {request.path}", "Request")
83
 
84
  logger = Logger(level="INFO")
85
+ DATA_DIR = Path("/data")
86
 
87
  if not DATA_DIR.exists():
88
  DATA_DIR.mkdir(parents=True, exist_ok=True)