Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
codingl2k1 committed Nov 14, 2024
1 parent 1a66535 commit a4575a9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions xinference/api/restful_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1316,11 +1316,6 @@ async def rerank(self, request: Request) -> Response:
payload = await request.json()
body = RerankRequest.parse_obj(payload)
model_uid = body.model
kwargs = {
key: value
for key, value in payload.items()
if key not in RerankRequest.__annotations__.keys()
}

try:
model = await (await self._get_supervisor_ref()).get_model(model_uid)
Expand Down

0 comments on commit a4575a9

Please sign in to comment.