Spaces:
Paused
Paused
netman19731
commited on
Commit
•
c232af0
1
Parent(s):
307a54d
Update app.py
Browse files
app.py
CHANGED
@@ -138,7 +138,8 @@ async def predict(message,history):
|
|
138 |
# history_langchain_format.append(HumanMessage(content=message))
|
139 |
|
140 |
# que={"messages": history_langchain_format}
|
141 |
-
que={"messages": [HumanMessage(content=message)]}
|
|
|
142 |
res=app.invoke(que)
|
143 |
if res:
|
144 |
|
|
|
138 |
# history_langchain_format.append(HumanMessage(content=message))
|
139 |
|
140 |
# que={"messages": history_langchain_format}
|
141 |
+
# que={"messages": [HumanMessage(content=message)]}
|
142 |
+
que={"messages":[prompt(input=message)]}
|
143 |
res=app.invoke(que)
|
144 |
if res:
|
145 |
|