Spaces:
Paused
Paused
Commit ·
3687f3a
1
Parent(s): a622057
Update chatbot_tab.py
Browse files- tabs/chatbot_tab.py +2 -2
tabs/chatbot_tab.py
CHANGED
|
@@ -128,12 +128,12 @@ Les cas d’usages adressés par ma solution
|
|
| 128 |
language = "French"
|
| 129 |
st.button(label=tr("Validez"), type="primary")
|
| 130 |
|
| 131 |
-
input_messages =
|
| 132 |
output = app.invoke(
|
| 133 |
{"messages": input_messages, "language": language},
|
| 134 |
config,
|
| 135 |
)
|
| 136 |
-
st.write(output["messages"][-1].pretty_print())
|
| 137 |
|
| 138 |
|
| 139 |
'''
|
|
|
|
| 128 |
language = "French"
|
| 129 |
st.button(label=tr("Validez"), type="primary")
|
| 130 |
|
| 131 |
+
input_messages = [HumanMessage(query)]
|
| 132 |
output = app.invoke(
|
| 133 |
{"messages": input_messages, "language": language},
|
| 134 |
config,
|
| 135 |
)
|
| 136 |
+
st.write(output["messages"][-1]) #.pretty_print())
|
| 137 |
|
| 138 |
|
| 139 |
'''
|