Hải Huỳnh commited on
Commit
e735715
1 Parent(s): ee939f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ async def on_message(message: cl.Message):
39
 
40
  llm_chain = cl.user_session.get("runnable")
41
 
42
- response = await llm_chain.ainvoke(
43
  {"input": message.content}, callbacks = [cl.LangchainCallbackHandler()]
44
  )
45
 
 
39
 
40
  llm_chain = cl.user_session.get("runnable")
41
 
42
+ response = llm_chain.invoke(
43
  {"input": message.content}, callbacks = [cl.LangchainCallbackHandler()]
44
  )
45