瀏覽代碼

初始化

罗俊辉 1 年之前
父節點
當前提交
ed2fc251ed
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      applications/functions.py

+ 2 - 2
applications/functions.py

@@ -51,12 +51,12 @@ class ParamProcess(object):
         """
         match version:
             case "v1":
-                result = await self.model_v1(features)
+                result = self.model_v1(features)
                 result = list(result)
                 return result
             case "v2":
                 print("predict_data", features)
-                result = await self.model_v2.predict(features)
+                result = self.model_v2.predict(features)
                 print("predict", list(result))
                 result = list(result)
                 return result