Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def find_sentences(query):
|
|
58 |
|
59 |
for hit in hits:
|
60 |
corpus_id = hit['corpus_id']
|
61 |
-
|
62 |
# Find source document based on sentence index
|
63 |
count = 0
|
64 |
for idx, c in enumerate(sentence_count):
|
@@ -67,7 +67,7 @@ def find_sentences(query):
|
|
67 |
continue
|
68 |
else:
|
69 |
doc = corpus[idx]
|
70 |
-
|
71 |
break
|
72 |
|
73 |
|
|
|
58 |
|
59 |
for hit in hits:
|
60 |
corpus_id = hit['corpus_id']
|
61 |
+
|
62 |
# Find source document based on sentence index
|
63 |
count = 0
|
64 |
for idx, c in enumerate(sentence_count):
|
|
|
67 |
continue
|
68 |
else:
|
69 |
doc = corpus[idx]
|
70 |
+
|
71 |
break
|
72 |
|
73 |
|