Update the max number of audio clips to 1

PiperOrigin-RevId: 775879562
This commit is contained in:
Google AI Edge Gallery 2025-06-25 16:21:43 -07:00 committed by Copybara-Service
parent db0242fe88
commit 665c86a640
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ val DEFAULT_ACCELERATORS = listOf(Accelerator.GPU)
const val MAX_IMAGE_COUNT = 10
// Max number of audio clip in an "ask audio" session.
const val MAX_AUDIO_CLIP_COUNT = 10
const val MAX_AUDIO_CLIP_COUNT = 1
// Max audio clip duration in seconds.
const val MAX_AUDIO_CLIP_DURATION_SEC = 30

View file

@ -493,7 +493,7 @@ fun ChatPanel(
MessageBodyInfo(
ChatMessageInfo(
content =
"To get started, tap the + icon to add your audio clips. You can add up to 10 clips, each up to 30 seconds long."
"To get started, tap the + icon to add your audio clip. Limited to 1 clip up to 30 seconds long."
),
smallFontSize = false,
)