diff --git a/README.md b/README.md index e23006a..3491d98 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Detects the language spoken in the uploaded file. For longer files it only proce Returns a json with following fields: - **detected_language** -- **langauge_code** +- **language_code** ## Build diff --git a/app/webservice.py b/app/webservice.py index c77bd0f..e6c58b7 100644 --- a/app/webservice.py +++ b/app/webservice.py @@ -106,7 +106,7 @@ def language_detection( detected_lang_code = max(probs, key=probs.get) result = { "detected_language": tokenizer.LANGUAGES[detected_lang_code], - "langauge_code" : detected_lang_code } + "language_code" : detected_lang_code } return result