nickmuchi commited on
Commit
09ed7b2
1 Parent(s): 969df28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def display_df_as_table(model,top_k,score='score'):
30
  return df
31
 
32
  #function for generating similarity of query and netflix shows
33
- def semantic_search(query,embeddings,top_k=top_k):
34
  '''Encode query and check similarity with embeddings'''
35
 
36
  question_embedding = model.encode(query, convert_to_tensor=True).cpu()
 
30
  return df
31
 
32
  #function for generating similarity of query and netflix shows
33
+ def semantic_search(query,embeddings,top_k):
34
  '''Encode query and check similarity with embeddings'''
35
 
36
  question_embedding = model.encode(query, convert_to_tensor=True).cpu()