ritikaaA commited on
Commit
9eb6176
·
verified ·
1 Parent(s): 61e4851

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def create_embeddings(text_chunks):
109
  return chunk_embeddings
110
 
111
  # Call the create_embeddings function and store the result in a new chunk_embeddings variable
112
- chunk_embeddings = create_embeddings(cleaned_chunks)
113
 
114
  # Define a function to find the most relevant text chunks for a given query, chunk_embeddings, and text_chunks
115
  def get_top_chunks(query, chunk_embeddings, text_chunks):
 
109
  return chunk_embeddings
110
 
111
  # Call the create_embeddings function and store the result in a new chunk_embeddings variable
112
+ chunk_embeddings = create_embeddings(brand_chunks)
113
 
114
  # Define a function to find the most relevant text chunks for a given query, chunk_embeddings, and text_chunks
115
  def get_top_chunks(query, chunk_embeddings, text_chunks):