diff --git a/src/containers/internal/views/applications/form.tsx b/src/containers/internal/views/applications/form.tsx index ce77146..01cb084 100644 --- a/src/containers/internal/views/applications/form.tsx +++ b/src/containers/internal/views/applications/form.tsx @@ -20,6 +20,7 @@ import { VENDOR_WELLSAID, useSpeechVendors, VENDOR_DEEPGRAM, + VENDOR_SONIOX, } from "src/vendor"; import { postApplication, @@ -382,7 +383,9 @@ export const ApplicationForm = ({ application }: ApplicationFormProps) => { name="synthesis_vendor" value={synthVendor} options={vendors.filter( - (vendor) => vendor.value != VENDOR_DEEPGRAM + (vendor) => + vendor.value != VENDOR_DEEPGRAM && + vendor.value != VENDOR_SONIOX )} onChange={(e) => { const vendor = e.target.value as keyof SynthesisVendors; diff --git a/src/containers/internal/views/speech-services/form.tsx b/src/containers/internal/views/speech-services/form.tsx index 3c881e6..84fc22b 100644 --- a/src/containers/internal/views/speech-services/form.tsx +++ b/src/containers/internal/views/speech-services/form.tsx @@ -27,6 +27,7 @@ import { VENDOR_DEEPGRAM, VENDOR_IBM, VENDOR_NVIDIA, + VENDOR_SONIOX, } from "src/vendor"; import { MSG_REQUIRED_FIELDS } from "src/constants"; import { @@ -173,7 +174,8 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => { api_key: vendor === VENDOR_MICROSOFT || vendor === VENDOR_WELLSAID || - vendor === VENDOR_DEEPGRAM + vendor === VENDOR_DEEPGRAM || + vendor === VENDOR_SONIOX ? apiKey : null, client_id: vendor === VENDOR_NUANCE ? clientId : null, @@ -327,7 +329,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => { {vendor && (
- {vendor !== VENDOR_DEEPGRAM && ( + {vendor !== VENDOR_DEEPGRAM && vendor !== VENDOR_SONIOX && (