瀏覽代碼

初始化

罗俊辉 1 年之前
父節點
當前提交
e578e0cd70
共有 1 個文件被更改,包括 3 次插入1 次删除
  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):