nickmuchi commited on
Commit
ead5a94
1 Parent(s): 5643243

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -240,7 +240,7 @@ def embed_text(query,embedding_model,_docsearch):
240
  memory = memory,
241
  return_source_documents=True)
242
 
243
- answer = chain({"query": query})
244
 
245
  return answer
246
 
 
240
  memory = memory,
241
  return_source_documents=True)
242
 
243
+ answer = chain({"question": query})
244
 
245
  return answer
246