Update subgen.py
This commit is contained in:
@@ -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!")
|
print("This doesn't appear to be a properly configured Emby webhook, please review the instructions again!")
|
||||||
|
|
||||||
return ""
|
return ""
|
||||||
|
# idea and some code for asr and detect language from https://github.com/ahmetoner/whisper-asr-webservice
|
||||||
@app.post("/asr")
|
@app.post("/asr")
|
||||||
def asr(
|
def asr(
|
||||||
task: Union[str, None] = Query(default="transcribe", enum=["transcribe", "translate"]),
|
task: Union[str, None] = Query(default="transcribe", enum=["transcribe", "translate"]),
|
||||||
|
|||||||
Reference in New Issue
Block a user