소스 검색

初始化

罗俊辉 1 년 전
부모
커밋
6aebb9c6f6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      applications/functions.py

+ 2 - 2
applications/functions.py

@@ -24,9 +24,9 @@ class ParamProcess(models):
         """
         match version:
             case "v1":
-                return await self.model_v1.predict(x)
+                return await self.model_v1.predict(features)
             case "v2":
-                return await self.model_v2.predict(x)
+                return await self.model_v2.predict(features)
 
     async def process_label(self, params):
         """