LiamKhoaLe commited on
Commit
d443075
·
1 Parent(s): 7298c80

Allow up to 40 candidate

Browse files
Files changed (1) hide show
  1. app/routers/search.py +2 -2
app/routers/search.py CHANGED
@@ -48,5 +48,5 @@ async def search_books(q: str = Query(...)):
48
  if dropped:
49
  logger.debug(f"🚮 truncated titles: {dropped[:10]}")
50
 
51
- # Limit to 20 best matches
52
- return merged[:20]
 
48
  if dropped:
49
  logger.debug(f"🚮 truncated titles: {dropped[:10]}")
50
 
51
+ # Limit to 40 best matches
52
+ return merged[:40]