Browse Source

初始化

罗俊辉 1 năm trước cách đây
mục cha
commit
ed2fc251ed
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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