From 0d97c0abf9a71625069c3a4018053c43f4f26568 Mon Sep 17 00:00:00 2001 From: Shanks0465 Date: Tue, 10 Sep 2024 21:09:53 +0530 Subject: [PATCH] Disabled Processoors for IndicConformer --- frontend/components/TryOut/ASR.tsx | 90 +++++++++++++++++------------- 1 file changed, 52 insertions(+), 38 deletions(-) diff --git a/frontend/components/TryOut/ASR.tsx b/frontend/components/TryOut/ASR.tsx index b040600..5458c19 100644 --- a/frontend/components/TryOut/ASR.tsx +++ b/frontend/components/TryOut/ASR.tsx @@ -304,43 +304,57 @@ export default function ASR({ services }: { services: any }) { ) )} - Select Pre Processors: - - - {preProcessors.map((option) => ( - handlePreCheckboxChange(option)} - > - {option} - - ))} - - - Select Post Processors: - - - {postProcessors.map((option) => ( - handlePostCheckboxChange(option)} - > - {option} - - ))} - - - Select Sampling Rate: - + {service !== "ai4bharat/conformer-multilingual-all--gpu-t4" ? ( + <> + + Select Pre Processors: + + + + {preProcessors.map((option) => ( + handlePreCheckboxChange(option)} + > + {option} + + ))} + + + + Select Post Processors: + + + + {postProcessors.map((option) => ( + handlePostCheckboxChange(option)} + > + {option} + + ))} + + + + Select Sampling Rate: + + + + ) : ( + <> + )} Domain: {success ? (