浏览代码

初始化

罗俊辉 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):
         """