罗俊辉 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