소스 검색

初始化

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