Spaces:
Runtime error
Runtime error
AminFaraji
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ def get_llama_response(message: str, history: list) -> str:
|
|
162 |
results = db.similarity_search_with_relevance_scores(message, k=3)
|
163 |
if len(results) == 0 or results[0][1] < 0.5:
|
164 |
print(f"Unable to find matching results.")
|
165 |
-
print('after searchingf
|
166 |
|
167 |
|
168 |
context_text = "\n\n---\n\n".join([doc.page_content for doc, _score in results])
|
|
|
162 |
results = db.similarity_search_with_relevance_scores(message, k=3)
|
163 |
if len(results) == 0 or results[0][1] < 0.5:
|
164 |
print(f"Unable to find matching results.")
|
165 |
+
print('after searchingf insidee the db')
|
166 |
|
167 |
|
168 |
context_text = "\n\n---\n\n".join([doc.page_content for doc, _score in results])
|