captain-awesome commited on
Commit
beb5508
·
1 Parent(s): 5682826

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -282,7 +282,7 @@ def retrieve_bot_answer(query, loaded_documents):
282
  dict: The QA bot's response, typically a dictionary with response details.
283
  """
284
  qa_bot_instance = create_retrieval_qa_bot(loaded_documents)
285
- bot_response = qa_bot_instance({"query": query})
286
  return bot_response
287
 
288
 
 
282
  dict: The QA bot's response, typically a dictionary with response details.
283
  """
284
  qa_bot_instance = create_retrieval_qa_bot(loaded_documents)
285
+ bot_response = qa_bot_instance({"question": query})
286
  return bot_response
287
 
288