Browse Source

初始化

罗俊辉 1 year ago
parent
commit
e578e0cd70
1 changed files with 3 additions and 1 deletions
  1. 3 1
      applications/functions.py

+ 3 - 1
applications/functions.py

@@ -52,10 +52,12 @@ class ParamProcess(object):
         match version:
             case "v1":
                 result = await self.model_v1(features)
-                print(result)
+                result = list(result)
                 return result
             case "v2":
                 result = await self.model_v2.predict(features)
+                print("predict", list(result))
+                result = list(result)
                 return result
 
     async def process_label(self, params):