From c237b7e7f23d1aa1b75d498c56f8d375700847ea Mon Sep 17 00:00:00 2001 From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com> Date: Wed, 5 Feb 2025 20:33:12 +0700 Subject: [PATCH] support voxist stt (#480) --- .../internal/views/applications/speech-selection.tsx | 2 ++ src/containers/internal/views/speech-services/form.tsx | 4 ++++ src/vendor/index.tsx | 5 +++++ src/vendor/types.ts | 1 + 4 files changed, 12 insertions(+) diff --git a/src/containers/internal/views/applications/speech-selection.tsx b/src/containers/internal/views/applications/speech-selection.tsx index 2587999..0b5cd6a 100644 --- a/src/containers/internal/views/applications/speech-selection.tsx +++ b/src/containers/internal/views/applications/speech-selection.tsx @@ -31,6 +31,7 @@ import { VENDOR_SPEECHMATICS, VENDOR_PLAYHT, VENDOR_CARTESIA, + VENDOR_VOXIST, } from "src/vendor"; import { LabelOptions, @@ -391,6 +392,7 @@ export const SpeechProviderSelection = ({ options={ttsVendorOptions.filter( (vendor) => vendor.value !== VENDOR_ASSEMBLYAI && + vendor.value !== VENDOR_VOXIST && vendor.value !== VENDOR_SONIOX && vendor.value !== VENDOR_SPEECHMATICS && vendor.value !== VENDOR_CUSTOM && diff --git a/src/containers/internal/views/speech-services/form.tsx b/src/containers/internal/views/speech-services/form.tsx index 68fa40f..cfcb97e 100644 --- a/src/containers/internal/views/speech-services/form.tsx +++ b/src/containers/internal/views/speech-services/form.tsx @@ -50,6 +50,7 @@ import { VENDOR_VERBIO, VENDOR_SPEECHMATICS, VENDOR_CARTESIA, + VENDOR_VOXIST, } from "src/vendor"; import { MSG_REQUIRED_FIELDS } from "src/constants"; import { @@ -461,6 +462,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => { vendor === VENDOR_WELLSAID || vendor === VENDOR_DEEPGRAM || vendor === VENDOR_ASSEMBLYAI || + vendor === VENDOR_VOXIST || vendor === VENDOR_SONIOX || vendor === VENDOR_SPEECHMATICS || vendor === VENDOR_ELEVENLABS || @@ -881,6 +883,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => { {vendor && (