Update subgen.py

This commit is contained in:
McCloudS
2023-11-21 08:04:39 -07:00
committed by GitHub
parent 42e3df75e7
commit 353b27cd98

View File

@@ -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"]),