camparchimedes commited on
Commit
9246260
ยท
verified ยท
1 Parent(s): 1935fa6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -62,6 +62,9 @@ def rename(orig_author: str):
62
 
63
  @cl.on_chat_start
64
  async def init():
 
 
 
65
  msg = cl.Message(content=f"Building vector store...")
66
  await msg.send()
67
 
@@ -90,7 +93,7 @@ async def init():
90
  chain_type_kwargs = {"prompt": prompt}
91
  )
92
 
93
- html_table = """
94
  <table style="width: 80%; background-color: #1e1e1e; color: white; border-radius: 8px;">
95
  <tr>
96
  <td style="padding: 10px;">
 
62
 
63
  @cl.on_chat_start
64
  async def init():
65
+
66
+ html_element = cl.Text(content=html_content, name="HTML Table", display="inline")
67
+ await cl.Message(content="Her er noen eksempler pรฅ spรธrsmรฅl:", elements=[html_element]).send()
68
  msg = cl.Message(content=f"Building vector store...")
69
  await msg.send()
70
 
 
93
  chain_type_kwargs = {"prompt": prompt}
94
  )
95
 
96
+ html_content = """
97
  <table style="width: 80%; background-color: #1e1e1e; color: white; border-radius: 8px;">
98
  <tr>
99
  <td style="padding: 10px;">