소스 검색

初始化

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