wenzhuoliu
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -107,7 +107,7 @@ res = await asyncio.gather(*tasks)
|
|
107 |
tasks = []
|
108 |
num_rerank = 10
|
109 |
|
110 |
-
for i in range(0, len(texts
|
111 |
if len(texts[i+1: i+1+num_rerank]) == 0:
|
112 |
break
|
113 |
tasks.append(
|
|
|
107 |
tasks = []
|
108 |
num_rerank = 10
|
109 |
|
110 |
+
for i in range(0, len(texts), num_rerank+1):
|
111 |
if len(texts[i+1: i+1+num_rerank]) == 0:
|
112 |
break
|
113 |
tasks.append(
|