修复掉画面的bug
This commit is contained in:
@@ -716,6 +716,11 @@ def test():
|
||||
# 关闭会话
|
||||
session.close()
|
||||
|
||||
# 获取ai配置
|
||||
@app.route("/getAiConfig", methods=['GET'])
|
||||
def getAiConfig():
|
||||
data = IOSAIStorage.load("aiConfig.json")
|
||||
return ResultData(data=data).toJson()
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run("0.0.0.0", port=5000, debug=True, use_reloader=False)
|
||||
|
||||
Reference in New Issue
Block a user