Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /rpidhe_chainlit-pypi /cypress /e2e /custom_element /main.py
| import chainlit as cl | |
| async def on_test_action(): | |
| await cl.sleep(1) | |
| await cl.Message(content="Executed test action!").send() | |
| async def on_start(): | |
| custom_element = cl.CustomElement(name="Counter", props={"count": 1}) | |
| await cl.Message( | |
| content="This message has a custom element!", elements=[custom_element] | |
| ).send() | |
Xet Storage Details
- Size:
- 394 Bytes
- Xet hash:
- f09f376e452ec9fe7bfeee76b25c6cb3eee53e659584f62c554d775bd48b8a10
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.