Skip to content
Snippets Groups Projects
Commit 2f49d730 authored by Ahmet Oner's avatar Ahmet Oner
Browse files

Fix language code typo

parent 08e1326a
Branches
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment