// 실시간 자막 전용 로컬 Whisper 모델 선택 — STT 탭과 일반 탭 자막 섹션이 함께 쓴다. import { FormControl, InputLabel, MenuItem, Select, Typography } from '@mui/material' import { d3roPalette, d3roTypo } from '@d3ro/ui/theme' import { useI18n } from '@d3ro/i18n' import type { STTModel } from '@d3ro/core/types' /** "받아쓰기와 같게" — 설정에는 null 로 저장한다 */ const SAME_AS_DICTATION = '__same__' interface CaptionModelSelectProps { value: string | null | undefined /** 선택지로 보일 모델 — 받아 둔 모델만 넘긴다 */ models: readonly STTModel[] onChange: (modelId: string | null) => void fullWidth?: boolean } export function CaptionModelSelect({ value, models, onChange, fullWidth }: CaptionModelSelectProps): React.ReactElement { const { t } = useI18n() return ( {t('settings.captionModel')} {t('settings.captionModel.desc')} ) }