import React from 'react' import { Label } from '@/components/ui/label' import { Input } from '@/components/ui/input' import { useTextToSpeech } from '../../contexts/TextToSpeechContext' interface TextToSpeechConfigProps { className?: string } const TextToSpeechConfig: React.FC = ({ className = '' }) => { const { config, setConfig } = useTextToSpeech() return (
setConfig((prev) => ({ ...prev, speakerEmbeddings: e.target.value })) } placeholder="https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/speaker_embeddings.bin" className="text-sm" />

URL to speaker embeddings file for voice characteristics

) } export default TextToSpeechConfig