Tesneem commited on
Commit
3669869
1 Parent(s): 8c30127

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,9 +57,9 @@ def vector_search(query,top_n=3):
57
  result_text=""
58
  for index,row in results.iterrows():
59
  if index!=top_n-1:
60
- result_text+=f"Title: {row['title']} Description: {row['description']} Genre: {row['listed_in']}\n\n"
61
  else:
62
- result_text+=f"Title: {row['title']} Description: {row['description']} Genre: {row['listed_in']}"
63
  return result_text
64
 
65
 
 
57
  result_text=""
58
  for index,row in results.iterrows():
59
  if index!=top_n-1:
60
+ result_text+=f"Title: {row['title']} Description: {row['description']} Genre: {row['listed_in']}\n\n"
61
  else:
62
+ result_text+=f"Title: {row['title']} Description: {row['description']} Genre: {row['listed_in']}"
63
  return result_text
64
 
65