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