Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|