mmargg commited on
Commit
0a8c18b
·
verified ·
1 Parent(s): daf5ab4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = cleaned_chunks[i]
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