Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,7 +109,7 @@ def get_top_chunks(query, chunk_embeddings, text_chunks):
|
|
| 109 |
|
| 110 |
# Loop through the top indices and retrieve the corresponding text chunks
|
| 111 |
for i in top_indices:
|
| 112 |
-
relevant_info =
|
| 113 |
top_chunks.append(relevant_info)
|
| 114 |
|
| 115 |
# Return the list of most relevant chunks
|
|
|
|
| 109 |
|
| 110 |
# Loop through the top indices and retrieve the corresponding text chunks
|
| 111 |
for i in top_indices:
|
| 112 |
+
relevant_info = text_chunks[i]
|
| 113 |
top_chunks.append(relevant_info)
|
| 114 |
|
| 115 |
# Return the list of most relevant chunks
|