Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ def get_top_k_matches(np_array,k,sentences):
|
|
| 63 |
for idx in heapsort(np_array,k):
|
| 64 |
try:
|
| 65 |
i=len(sentences[idx])-1 #based on the index find the sentence- reason for storing idx but not sentence
|
| 66 |
-
|
| 67 |
print(idx)
|
| 68 |
count=1
|
| 69 |
number=0
|
|
|
|
| 63 |
for idx in heapsort(np_array,k):
|
| 64 |
try:
|
| 65 |
i=len(sentences[idx])-1 #based on the index find the sentence- reason for storing idx but not sentence
|
| 66 |
+
except:
|
| 67 |
print(idx)
|
| 68 |
count=1
|
| 69 |
number=0
|