Spaces:
Sleeping
Sleeping
dataprincess
commited on
Commit
•
9636641
1
Parent(s):
f093d4b
cleared threshold error
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ def get_response(query: str, docs: list[str]) -> str:
|
|
115 |
def handle_query(user_query: str):
|
116 |
|
117 |
# Get relevant documents
|
118 |
-
docs = get_docs(user_query, top_k=5
|
119 |
|
120 |
# Generate and return response
|
121 |
response = get_response(user_query, docs=docs)
|
|
|
115 |
def handle_query(user_query: str):
|
116 |
|
117 |
# Get relevant documents
|
118 |
+
docs = get_docs(user_query, top_k=5)
|
119 |
|
120 |
# Generate and return response
|
121 |
response = get_response(user_query, docs=docs)
|