Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbleasel committed Jan 30, 2025
1 parent 183af69 commit 275c2f1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion website/app/(home)/components/text-to-speech/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const snippets = [
name: 'ElevenLabs',
code: createSnippet('elevenlabs', "'multilingual_v2', 'aria'"),
children: (
// biome-ignore lint/a11y/useMediaCaption: 'inline demo'
<audio className="w-full" src="/examples/tts/elevenlabs.wav" controls />
),
},
Expand All @@ -30,6 +31,7 @@ const snippets = [
name: 'OpenAI',
code: createSnippet('openai', "'tts-1', 'alloy'"),
children: (
// biome-ignore lint/a11y/useMediaCaption: 'inline demo'
<audio className="w-full" src="/examples/tts/openai.wav" controls />
),
},
Expand All @@ -38,20 +40,25 @@ const snippets = [
name: 'Google',
code: createSnippet('google', "'en-US-Casual-K'"),
children: (
// biome-ignore lint/a11y/useMediaCaption: 'inline demo'
<audio className="w-full" src="/examples/tts/google.wav" controls />
),
},
{
provider: 'ibm',
name: 'IBM',
code: createSnippet('ibm', "'en-US_BroadbandModel'"),
children: <audio className="w-full" src="/examples/tts/ibm.wav" controls />,
children: (
// biome-ignore lint/a11y/useMediaCaption: 'inline demo'
<audio className="w-full" src="/examples/tts/ibm.wav" controls />
),
},
{
provider: 'murf',
name: 'Murf',
code: createSnippet('murf', "'GEN2', 'en-US-natalie'"),
children: (
// biome-ignore lint/a11y/useMediaCaption: 'inline demo'
<audio className="w-full" src="/examples/tts/murf.wav" controls />
),
},
Expand All @@ -60,6 +67,7 @@ const snippets = [
name: 'Deepgram',
code: createSnippet('deepgram', "'aura', 'asteria-en'"),
children: (
// biome-ignore lint/a11y/useMediaCaption: 'inline demo'
<audio className="w-full" src="/examples/tts/deepgram.wav" controls />
),
},
Expand All @@ -68,6 +76,7 @@ const snippets = [
name: 'Speechify',
code: createSnippet('speechify', "'simba-multilingual', 'george'"),
children: (
// biome-ignore lint/a11y/useMediaCaption: 'inline demo'
<audio className="w-full" src="/examples/tts/speechify.wav" controls />
),
},
Expand All @@ -76,6 +85,7 @@ const snippets = [
name: 'Play',
code: createSnippet('play', "'PlayDialog', 'Angelo'"),
children: (
// biome-ignore lint/a11y/useMediaCaption: 'inline demo'
<audio className="w-full" src="/examples/tts/play.wav" controls />
),
},
Expand Down Expand Up @@ -118,6 +128,7 @@ const speech = await speak({
prompt: 'Friends, Romans, countrymen, lend me your ears!'
});`,
children: (
// biome-ignore lint/a11y/useMediaCaption: 'inline demo'
<audio className="w-full" src="/examples/tts/replicate.wav" controls />
),
},
Expand Down

0 comments on commit 275c2f1

Please sign in to comment.