Merge branch 'master' of https://gitea.star-rising.cn/xkrs_manan/RODY
This commit is contained in:
@ -8,8 +8,8 @@ DEBUG = True
|
||||
SECRET_KEY = 'WugjsfiYBEVsiQfiSwEbIOEAGnOIFYqoOYHEIK'
|
||||
|
||||
# 数据库配置
|
||||
# SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://deepLearner:dp2021@124.71.203.3:5432/demo'
|
||||
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://demo:demo123@192.168.2.9:3306/flask_demo'
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://deepLearner:dp2021@124.71.203.3:5432/demo'
|
||||
#SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://demo:demo123@192.168.2.9:3306/flask_demo'
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
# 查询时会显示原始SQL语句
|
||||
SQLALCHEMY_ECHO = True
|
||||
@ -21,7 +21,7 @@ SQLALCHEMY_ECHO = True
|
||||
db = {
|
||||
'host': '127.0.0.1',
|
||||
'user': 'root',
|
||||
'password': '',
|
||||
'password': 'sdust2020',
|
||||
'port': 6379,
|
||||
'database': 'school',
|
||||
'charset': 'utf8',
|
||||
|
@ -10,7 +10,7 @@ from flask_sockets import Sockets
|
||||
|
||||
|
||||
import sys
|
||||
sys.path.append("/mnt/sdc/algorithm/AICheck-MaskRCNN")
|
||||
sys.path.append("/mnt/sdc/algorithm/R-ODY")
|
||||
# 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
|
||||
@ -130,5 +130,5 @@ if __name__ == '__main__':
|
||||
from geventwebsocket.handler import WebSocketHandler
|
||||
|
||||
#8080 6913 '192.168.0.20'
|
||||
server = pywsgi.WSGIServer(('192.168.2.118', 6914), app, handler_class=WebSocketHandler)
|
||||
server = pywsgi.WSGIServer(('192.168.0.20', 6914), app, handler_class=WebSocketHandler)
|
||||
server.serve_forever()
|
||||
|
@ -5,7 +5,7 @@ import sys
|
||||
|
||||
import redis
|
||||
|
||||
from ..configs import default
|
||||
from configs import default
|
||||
|
||||
|
||||
class RedisCli(object):
|
||||
|
@ -1,8 +1,6 @@
|
||||
"""
|
||||
@Time : 2022/10/12 17:55
|
||||
@Auth : 东
|
||||
@File :websocket_tool.py
|
||||
@IDE :PyCharm
|
||||
@Motto:ABC(Always Be Coding)
|
||||
@Desc:
|
||||
|
||||
@ -62,4 +60,4 @@ class WebsocketUtil:
|
||||
self.disconnect(ws=connection, id=id)
|
||||
|
||||
|
||||
manager = WebsocketUtil()
|
||||
manager = WebsocketUtil()
|
||||
|
@ -1,7 +1,9 @@
|
||||
path: null
|
||||
train: E:/aicheck/data_set/11442136178662604800/trained/images/train/
|
||||
val: E:/aicheck/data_set/11442136178662604800/trained/images/val/
|
||||
train: /mnt/sdc/aicheck/IntelligentizeAI/data_set/193120735164768256/trained/images/train/
|
||||
val: /mnt/sdc/aicheck/IntelligentizeAI/data_set/193120735164768256/trained/images/val/
|
||||
test: null
|
||||
names:
|
||||
0: hole
|
||||
1: '456'
|
||||
2: dog
|
||||
3: cat
|
||||
|
Reference in New Issue
Block a user