Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def get_langcode_description(input_code):
|
|
43 |
description = "the default universal setting, not specific to any language"
|
44 |
|
45 |
if not input_code or input_code==langcode:
|
46 |
-
return description
|
47 |
|
48 |
|
49 |
|
@@ -55,7 +55,7 @@ def get_langcode_description(input_code):
|
|
55 |
|
56 |
except langcodes.LanguageTagError as e:
|
57 |
pass
|
58 |
-
return description
|
59 |
|
60 |
|
61 |
|
|
|
43 |
description = "the default universal setting, not specific to any language"
|
44 |
|
45 |
if not input_code or input_code==langcode:
|
46 |
+
return f"{langcode}: {description}"
|
47 |
|
48 |
|
49 |
|
|
|
55 |
|
56 |
except langcodes.LanguageTagError as e:
|
57 |
pass
|
58 |
+
return f"{langcode}: {description}"
|
59 |
|
60 |
|
61 |
|