Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def get_lang_description_from_mapping_name(string_to_check):
|
|
35 |
substrings = string_to_check.split("-")
|
36 |
substrings = substrings[:-1] # remove the last one
|
37 |
string_to_check = "-".join(substrings)
|
38 |
-
return
|
39 |
else:
|
40 |
print("*****")
|
41 |
print(e)
|
|
|
35 |
substrings = string_to_check.split("-")
|
36 |
substrings = substrings[:-1] # remove the last one
|
37 |
string_to_check = "-".join(substrings)
|
38 |
+
return get_lang_description_from_mapping_name(string_to_check)
|
39 |
else:
|
40 |
print("*****")
|
41 |
print(e)
|