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