Browse Source

初始化

罗俊辉 1 year ago
parent
commit
6aebb9c6f6
1 changed files with 2 additions and 2 deletions
  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):
         """