Rakesh30 commited on
Commit
ebf5a46
·
1 Parent(s): d9d1320

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- catch:
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