diff --git a/CHANGELOG.md b/CHANGELOG.md index 52493e3b52bd7eb70712d9ac5923c23d05d3a31d..02d09bf2b965adb9722c7ab45d3a86b11eda32c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -154,7 +154,7 @@ Unreleased - Fastapi init in #3 - Avoid temp file in #4 - Translate init in #5 -- mp3 support by using ffmpeg instead of librosa in #8 +- mp3 support by using FFmpeg instead of librosa in #8 - add language detection endpoint in #9 [1.2.4]: https://github.com/ahmetoner/whisper-asr-webservice/releases/tag/v1.2.4 diff --git a/README.md b/README.md index 47a7e0cc2f53f9745185cc4efba59c8277fea307..749642562a18c881018bc550c4453628e5208a7b 100644 --- a/README.md +++ b/README.md @@ -32,5 +32,9 @@ for more information: - [Documentation/Run](https://ahmetoner.github.io/whisper-asr-webservice/run) - [Docker Hub](https://hub.docker.com/r/onerahmet/openai-whisper-asr-webservice) -# Documentation +## Documentation Explore the documentation by clicking [here](https://ahmetoner.github.io/whisper-asr-webservice). + +## Credits + +- This software uses libraries from the [FFmpeg](http://ffmpeg.org) project under the [LGPLv2.1](http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html) diff --git a/app/webservice.py b/app/webservice.py index 4fc7be8a35e46c638a165e5c5985d3ed8a194bc7..75bd497df430b015d7e7d8a47bb370ac4f225cc0 100644 --- a/app/webservice.py +++ b/app/webservice.py @@ -87,7 +87,7 @@ async def asr( @app.post("/detect-language", tags=["Endpoints"]) async def detect_language( audio_file: UploadFile = File(...), - encode: bool = Query(default=True, description="Encode audio first through ffmpeg") + encode: bool = Query(default=True, description="Encode audio first through FFmpeg") ): detected_lang_code = language_detection(load_audio(audio_file.file, encode)) return {"detected_language": tokenizer.LANGUAGES[detected_lang_code], "language_code": detected_lang_code} diff --git a/docs/index.md b/docs/index.md index 660b4ebdc76a2440f63f30b907e5ff1126ca83e7..c13def57e76031189810320190da4f802a550bc9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -24,3 +24,7 @@ for more information: - [Documentation/Run](https://ahmetoner.github.io/whisper-asr-webservice/run) - [Docker Hub](https://hub.docker.com/r/onerahmet/openai-whisper-asr-webservice) + +## Credits + +- This software uses libraries from the [FFmpeg](http://ffmpeg.org) project under the [LGPLv2.1](http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html)