Update main.py
Browse files
main.py
CHANGED
@@ -143,7 +143,14 @@ def Search(input, categorie):
|
|
143 |
@cl.on_chat_start
|
144 |
async def on_chat_start():
|
145 |
await cl.Message(f"> REVIEWSTREAM").send()
|
146 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
res = await cl.AskActionMessage(
|
148 |
content="<div style='width:100%;text-align:center'>Sélectionnez une source documentaire</div>",
|
149 |
actions=[
|
|
|
143 |
@cl.on_chat_start
|
144 |
async def on_chat_start():
|
145 |
await cl.Message(f"> REVIEWSTREAM").send()
|
146 |
+
image1 = cl.Image(path="./public/hal-logo-header.png", name="image1", display="inline")
|
147 |
+
image2 = cl.Image(path="./public/logo-persee.png", name="image2", display="inline")
|
148 |
+
|
149 |
+
await cl.Message(
|
150 |
+
content="This message has an image!",
|
151 |
+
elements=[image1, image2],
|
152 |
+
).send()
|
153 |
+
|
154 |
res = await cl.AskActionMessage(
|
155 |
content="<div style='width:100%;text-align:center'>Sélectionnez une source documentaire</div>",
|
156 |
actions=[
|