Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketmaurya committed Jan 9, 2025
2 parents 74771fc + 747308a commit caecfa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/litserve/loops/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,13 +283,13 @@ def pre_setup(self, lit_api: LitAPI, spec: Optional[LitSpec]):
"""When `stream=False`, `lit_api.predict`, `lit_api.encode_response` must not be
generator functions.
Correct example:
Correct usage:
def predict(self, inputs):
...
return {"output": output}
Incorrect example:
Incorrect usage:
def predict(self, inputs):
...
Expand Down

0 comments on commit caecfa8

Please sign in to comment.