Update app.py
Browse files
app.py
CHANGED
@@ -91,9 +91,6 @@ async def init():
|
|
91 |
chain_type_kwargs = {"prompt": prompt}
|
92 |
)
|
93 |
|
94 |
-
html_element = cl.Text(content=html_content, name="HTML Table", display="inline")
|
95 |
-
await cl.Message(content=f"FAISS ready. Her er noen eksempler pรฅ spรธrsmรฅl:โ๏ธ", elements=[html_element]).send()
|
96 |
-
|
97 |
html_content = """
|
98 |
<table style="width: 80%; background-color: #1e1e1e; color: white; border-radius: 8px;">
|
99 |
<tr>
|
@@ -109,6 +106,9 @@ async def init():
|
|
109 |
</tr>
|
110 |
</table>
|
111 |
"""
|
|
|
|
|
|
|
112 |
#msg.content = f"FAISS ready. Her er noen eksempler pรฅ spรธrsmรฅl:\n\n{markdown}"
|
113 |
#await msg.send()
|
114 |
|
|
|
91 |
chain_type_kwargs = {"prompt": prompt}
|
92 |
)
|
93 |
|
|
|
|
|
|
|
94 |
html_content = """
|
95 |
<table style="width: 80%; background-color: #1e1e1e; color: white; border-radius: 8px;">
|
96 |
<tr>
|
|
|
106 |
</tr>
|
107 |
</table>
|
108 |
"""
|
109 |
+
|
110 |
+
html_element = cl.Text(content=html_content, name="HTML Table", display="inline")
|
111 |
+
await cl.Message(content=f"FAISS ready. Her er noen eksempler pรฅ spรธrsmรฅl:โ๏ธ", elements=[html_element]).send()
|
112 |
#msg.content = f"FAISS ready. Her er noen eksempler pรฅ spรธrsmรฅl:\n\n{markdown}"
|
113 |
#await msg.send()
|
114 |
|