From 353b27cd98c3b5623e7a3c67d4527950f1439a6b Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Tue, 21 Nov 2023 08:04:39 -0700 Subject: [PATCH] Update subgen.py --- subgen/subgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subgen/subgen.py b/subgen/subgen.py index 35c7c52..e1937b4 100644 --- a/subgen/subgen.py +++ b/subgen/subgen.py @@ -175,7 +175,7 @@ def receive_emby_webhook( print("This doesn't appear to be a properly configured Emby webhook, please review the instructions again!") return "" - +# idea and some code for asr and detect language from https://github.com/ahmetoner/whisper-asr-webservice @app.post("/asr") def asr( task: Union[str, None] = Query(default="transcribe", enum=["transcribe", "translate"]),