diff --git a/app/run.py b/app/run.py index f302f58..3b7f6ad 100644 --- a/app/run.py +++ b/app/run.py @@ -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)