global value init
This commit is contained in:
parent
d78413e6aa
commit
168c803f56
@ -7,17 +7,18 @@ from typing import List, Dict, Union
|
|||||||
from flask import Flask, request
|
from flask import Flask, request
|
||||||
from flask.helpers import get_env
|
from flask.helpers import get_env
|
||||||
from flask_sockets import Sockets
|
from flask_sockets import Sockets
|
||||||
from app.configs.global_var import _init
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
#sys.path.append("/mnt/sdc/algorithm/AICheck-MaskRCNN")
|
sys.path.append("/mnt/sdc/algorithm/AICheck-MaskRCNN")
|
||||||
sys.path.append('E:/alg_demo-master/alg_demo/app/yolov5')
|
# sys.path.append('E:/alg_demo-master/alg_demo/app/yolov5')
|
||||||
from app.core.common_utils import logger
|
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.core.err_handler import page_not_found, method_not_allowed, exception_500, exception_400
|
||||||
|
|
||||||
from app.exts import db, migrate, ma
|
from app.exts import db, migrate, ma
|
||||||
from app.utils.redis_config import redis_client
|
from app.utils.redis_config import redis_client
|
||||||
from app.utils.websocket_tool import manager
|
from app.utils.websocket_tool import manager
|
||||||
|
from app.configs.global_var import _init
|
||||||
|
|
||||||
|
|
||||||
def register_extensions(app):
|
def register_extensions(app):
|
||||||
|
Loading…
Reference in New Issue
Block a user