Audio
import chainlit as cl @cl.on_chat_start async def main(): elements = [ cl.Audio(name="example.mp3", path="./example.mp3", display="inline"), ] await cl.Message( content="Here is an audio file", elements=elements, ).send()
Was this page helpful?