svijayanand commited on
Commit
71e991b
·
verified ·
1 Parent(s): 9b2adf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ async def on_message(message: cl.Message):
126
 
127
  print(f"Answer the following Question: {cl.Message.content}")
128
  # Asynchronous execution (e.g., for a better a chatbot user experience)
129
- output_chunks = await runnable_chain.ainvoke(question)
130
  answer = ''.join(output_chunks)
131
  print(f"answer to question is : {answer}")
132
 
 
126
 
127
  print(f"Answer the following Question: {cl.Message.content}")
128
  # Asynchronous execution (e.g., for a better a chatbot user experience)
129
+ output_chunks = await runnable_chain.ainvoke(cl.Message.content)
130
  answer = ''.join(output_chunks)
131
  print(f"answer to question is : {answer}")
132