mrinjera commited on
Commit
5cd819c
·
verified ·
1 Parent(s): e37d48b

removed response type checking

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def hello_world():
22
 
23
 
24
  @app.post("/rerank")
25
- def rerank(request: RerankRequest) -> RerankResponse:
26
  hits = request.hits
27
  sorted_hits = sorted(hits, key=lambda x: x[0]) # sort hits again for safety
28
 
 
22
 
23
 
24
  @app.post("/rerank")
25
+ def rerank(request: RerankRequest):
26
  hits = request.hits
27
  sorted_hits = sorted(hits, key=lambda x: x[0]) # sort hits again for safety
28