global value init
This commit is contained in:
parent
f1435f4f55
commit
d78413e6aa
@ -7,6 +7,7 @@ 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")
|
||||
@ -80,6 +81,7 @@ def create_app():
|
||||
register_blueprints(app)
|
||||
register_error_handler(app)
|
||||
db.create_all()
|
||||
_init()
|
||||
register_cmds(app)
|
||||
register_log(app)
|
||||
register_redis(app)
|
||||
|
Loading…
Reference in New Issue
Block a user