Skip to content

Commit c9b4262

Browse files
committed
feat: refactor rerank
1 parent 0e9506d commit c9b4262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aperag/rank/reranker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ async def rank(self, query, results: List[DocumentWithScore]):
7575
}
7676
headers = {
7777
"Content-Type": "application/json",
78-
"Authorization": f"Bearer ${self.auth_token}"
78+
"Authorization": f"Bearer {self.auth_token}"
7979
}
8080
async with aiohttp.ClientSession() as session:
8181
async with session.post(self.url, headers=headers, json=body) as resp:

0 commit comments

Comments
 (0)