Hook to react to the end of an audio recording coming from the user’s microphone.

Usage

from io import BytesIO
import chainlit as cl


@cl.on_audio_end
async def on_audio_end():
    pass