Update main.py
Browse files
main.py
CHANGED
@@ -104,11 +104,12 @@ async def on_chat_start():
|
|
104 |
]
|
105 |
).send()
|
106 |
res = await cl.AskActionMessage(
|
107 |
-
content="<div style='width:100%;text-align:center'
|
108 |
actions=[
|
109 |
-
cl.Action(name="continue", value="continue", label="
|
110 |
-
cl.Action(name="cancel", value="cancel", label="
|
111 |
],
|
|
|
112 |
).send()
|
113 |
|
114 |
if res and res.get("value") == "continue":
|
|
|
104 |
]
|
105 |
).send()
|
106 |
res = await cl.AskActionMessage(
|
107 |
+
content="<div style='width:100%;text-align:center'> </div>",
|
108 |
actions=[
|
109 |
+
cl.Action(name="continue", value="continue", label="🎓 Pédagogie durable"),
|
110 |
+
cl.Action(name="cancel", value="cancel", label="🎓 Lieux d'apprentissage"),
|
111 |
],
|
112 |
+
timeout="3600"
|
113 |
).send()
|
114 |
|
115 |
if res and res.get("value") == "continue":
|