kdevoe commited on
Commit
4cfa6b0
·
verified ·
1 Parent(s): a31164e

Fixing call to qa_memory

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ qa_memory = ConversationalRetrievalChain.from_llm(
47
  # Streamed response emulator
48
  def response_generator(prompt):
49
 
50
- response = qa_memory({"query": prompt})['result']
51
 
52
  # Fake streaming
53
  for word in response.split():
 
47
  # Streamed response emulator
48
  def response_generator(prompt):
49
 
50
+ response = qa_memory({"question": prompt})['result']
51
 
52
  # Fake streaming
53
  for word in response.split():