From 86d167b8299d2834b15ba968a2a6783c72c54a7e Mon Sep 17 00:00:00 2001 From: Kaustubh Maske Patil <37668193+nikochiko@users.noreply.github.com> Date: Tue, 31 Oct 2023 19:24:44 +0530 Subject: [PATCH] allow returning non-text output formats for seamlesgs --- daras_ai_v2/asr.py | 1 - 1 file changed, 1 deletion(-) diff --git a/daras_ai_v2/asr.py b/daras_ai_v2/asr.py index 53747e76a..4b29982ee 100644 --- a/daras_ai_v2/asr.py +++ b/daras_ai_v2/asr.py @@ -346,7 +346,6 @@ def run_asr( src_lang=language, ), ) - return data["text"] elif selected_model == AsrModels.usm: # note: only us-central1 and a few other regions support chirp recognizers (so global can't be used) location = "us-central1"