global value init

This commit is contained in:
JIAKUNHAO 2022-11-18 17:07:53 +08:00
parent d78413e6aa
commit 168c803f56

View File

@ -7,17 +7,18 @@ from typing import List, Dict, Union
from flask import Flask, request
from flask.helpers import get_env
from flask_sockets import Sockets
from app.configs.global_var import _init
import sys
#sys.path.append("/mnt/sdc/algorithm/AICheck-MaskRCNN")
sys.path.append('E:/alg_demo-master/alg_demo/app/yolov5')
sys.path.append("/mnt/sdc/algorithm/AICheck-MaskRCNN")
# sys.path.append('E:/alg_demo-master/alg_demo/app/yolov5')
from app.core.common_utils import logger
from app.core.err_handler import page_not_found, method_not_allowed, exception_500, exception_400
from app.exts import db, migrate, ma
from app.utils.redis_config import redis_client
from app.utils.websocket_tool import manager
from app.configs.global_var import _init
def register_extensions(app):