Buckets:

download
raw
446 Bytes
import os
import chainlit as cl
# Get the directory where the script is located
script_directory = os.path.dirname(os.path.abspath(__file__))
# Create absolute path to the audio file
audio_path = os.path.join(script_directory, "../../fixtures/example.mp3")
@cl.on_chat_start
async def start():
elements = [cl.Audio(name="example.mp3", path=audio_path)]
await cl.Message(content="This message has an audio", elements=elements).send()

Xet Storage Details

Size:
446 Bytes
·
Xet hash:
197e91f38c486292da5309f55a5a5496ff7e8542232e7dfb7cdf2e7266cf647b

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