Buckets:

download
raw
610 Bytes
import chainlit as cl
commands = [
{"id": "Picture", "icon": "image", "description": "Use DALL-E"},
{"id": "Search", "icon": "globe", "description": "Find on the web", "button": True},
{
"id": "Canvas",
"icon": "pen-line",
"description": "Collaborate on writing and code",
},
]
@cl.on_chat_start
async def start():
await cl.context.emitter.set_commands(commands)
@cl.on_message
async def message(msg: cl.Message):
if msg.command == "Picture":
await cl.context.emitter.set_commands([])
await cl.Message(content=f"Command: {msg.command}").send()

Xet Storage Details

Size:
610 Bytes
·
Xet hash:
f80d0e263b6feca205529e2f4a46646d5489c5b47ba1d7c4a87c47e8fa0f4240

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.