Skip to content

Commit

Permalink
fix return type (#2566)
Browse files Browse the repository at this point in the history
Signed-off-by: jagadeesh <jagadeeshj@ideas2it.com>
  • Loading branch information
Jagadeesh J authored Sep 5, 2023
1 parent 16242d6 commit 499d33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/kserve/kserve_wrapper/TorchserveModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async def _grpc_predict(
payload = to_ts_grpc(payload)
grpc_stub = self.grpc_client()
async_result = await grpc_stub.Predictions(payload)
return async_result
return from_ts_grpc(async_result)

def postprocess(
self,
Expand Down

0 comments on commit 499d33d

Please sign in to comment.