cdleong commited on
Commit
bba97f2
1 Parent(s): 9a4a885

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("*.*")