Spaces:
Build error
Build error
Hải Huỳnh
commited on
Commit
•
e735715
1
Parent(s):
ee939f3
Update app.py
Browse files
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 =
|
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 |
|