Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ async def main(message: cl.Message):
|
|
28 |
This is called when a message is received!
|
29 |
"""
|
30 |
chain = cl.user_session.get("chain")
|
31 |
-
res = await chain.achat(message)
|
32 |
# res = await chain.aiinvoke({"input": message})
|
33 |
# res = res["text"]
|
34 |
out = str(res)
|
|
|
28 |
This is called when a message is received!
|
29 |
"""
|
30 |
chain = cl.user_session.get("chain")
|
31 |
+
res = await chain.achat(message.content)
|
32 |
# res = await chain.aiinvoke({"input": message})
|
33 |
# res = res["text"]
|
34 |
out = str(res)
|