Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def get_lang_description_from_mapping_name(string_to_check):
|
|
38 |
description = description + " (reduced)"
|
39 |
return description
|
40 |
|
41 |
-
|
42 |
def get_valid_epitran_mappings_list():
|
43 |
map_path = Path(epitran.__path__[0]) / "data" / "map"
|
44 |
map_files = map_path.glob("*.*")
|
|
|
38 |
description = description + " (reduced)"
|
39 |
return description
|
40 |
|
41 |
+
@st.cache
|
42 |
def get_valid_epitran_mappings_list():
|
43 |
map_path = Path(epitran.__path__[0]) / "data" / "map"
|
44 |
map_files = map_path.glob("*.*")
|