Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
hatianzhang committed Feb 16, 2024
1 parent 3eee085 commit 814ee42
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,4 @@ def serialize_input(self, request: List[str], model_kwargs: dict) -> bytes:
return request_str.encode("utf-8")

def deserialize_output(self, response: "StreamingBody") -> List[List[float]]:
response_json = json.loads(response.read().decode("utf-8"))
return response_json
return json.loads(response.read().decode("utf-8"))

0 comments on commit 814ee42

Please sign in to comment.