Mikeplockhart commited on
Commit
a4370d3
1 Parent(s): f5fba4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def search_chroma(query:str):
63
  markdown_text = f"# Title:\n{item.metadata['payload']['title']}\n\n## Description:\n{item.metadata['payload']['doc']}\n\n ## Instructions:\n{instructions}"
64
  text_only.append(markdown_text)
65
  print(text_only)
66
- return "".join(text_only)
67
 
68
  def reranking_results(query: str, top_k_results: list[str]):
69
  # Load the model, here we use our base sized model
 
63
  markdown_text = f"# Title:\n{item.metadata['payload']['title']}\n\n## Description:\n{item.metadata['payload']['doc']}\n\n ## Instructions:\n{instructions}"
64
  text_only.append(markdown_text)
65
  print(text_only)
66
+ return "\n".join(text_only)
67
 
68
  def reranking_results(query: str, top_k_results: list[str]):
69
  # Load the model, here we use our base sized model