mmargg commited on
Commit
44ab3bf
·
verified ·
1 Parent(s): b6a7487
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -42,7 +42,7 @@ def preprocess_text(text):
42
  # Return the cleaned_chunks
43
  return cleaned_chunks
44
 
45
- cleaned_chunks = preprocess_text(academic_tips_text)
46
 
47
 
48
  # Load the pre-trained embedding model that converts text to vectors
@@ -100,7 +100,6 @@ def get_top_chunks(query, chunk_embeddings, text_chunks):
100
  # Return the list of most relevant chunks
101
  return top_chunks
102
 
103
- cleaned_chunks = preprocess_text(poverty_and_education)
104
  # Print the top results
105
  print(top_results)
106
 
 
42
  # Return the cleaned_chunks
43
  return cleaned_chunks
44
 
45
+ cleaned_chunks = preprocess_text(poverty_and_education)
46
 
47
 
48
  # Load the pre-trained embedding model that converts text to vectors
 
100
  # Return the list of most relevant chunks
101
  return top_chunks
102
 
 
103
  # Print the top results
104
  print(top_results)
105