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