Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,6 @@ def get_lang_description_from_mapping_name(string_to_check):
|
|
19 |
substrings = string_to_check.split("-")
|
20 |
substrings = substrings[:2] # first two are ISO 639-3 language, and ISO 15924 script
|
21 |
string_to_check = "-".join(substrings)
|
22 |
-
|
23 |
-
|
24 |
|
25 |
description = None
|
26 |
lang = langcodes.get(string_to_check)
|
|
|
19 |
substrings = string_to_check.split("-")
|
20 |
substrings = substrings[:2] # first two are ISO 639-3 language, and ISO 15924 script
|
21 |
string_to_check = "-".join(substrings)
|
|
|
|
|
22 |
|
23 |
description = None
|
24 |
lang = langcodes.get(string_to_check)
|