Spaces:
Runtime error
Runtime error
captain-awesome
commited on
Commit
•
22efaa0
1
Parent(s):
81c330c
Update app.py
Browse files
app.py
CHANGED
@@ -280,7 +280,7 @@ def retrieve_bot_answer(query, loaded_documents):
|
|
280 |
Returns:
|
281 |
dict: The QA bot's response, typically a dictionary with response details.
|
282 |
"""
|
283 |
-
qa_bot_instance = create_retrieval_qa_bot()
|
284 |
bot_response = qa_bot_instance({"query": query})
|
285 |
return bot_response
|
286 |
|
|
|
280 |
Returns:
|
281 |
dict: The QA bot's response, typically a dictionary with response details.
|
282 |
"""
|
283 |
+
qa_bot_instance = create_retrieval_qa_bot(loaded_documents)
|
284 |
bot_response = qa_bot_instance({"query": query})
|
285 |
return bot_response
|
286 |
|