path.join("/data", "/detect", "/upload") # 文件结果相对路径 RELATIVE_DETECT_RESULT_PATH = os.path.join("/data", "/detect", "/result") # 文件上传绝对路径 DETECT_UPLOAD_PATH = os.path.join(CURRENT_PATH, RELATIVE_DETECT_UPLOAD_PATH) # 文件结果绝对路径 DETECT_RESULT_PATH = ...