Margerie commited on
Commit
976f0b7
·
verified ·
1 Parent(s): ac424c0

Update 1_📝_form.py

Browse files
Files changed (1) hide show
  1. 1_📝_form.py +1 -1
1_📝_form.py CHANGED
@@ -53,7 +53,7 @@ def get_treatment_mod():
53
  return treatment_mod
54
 
55
 
56
- @st.cache _data or _resource
57
  def get_cached_data():
58
  languages_df = pd.read_html("https://hf.co/languages")[0]
59
  languages_map = pd.Series(languages_df["Language"].values, index=languages_df["ISO code"]).to_dict()
 
53
  return treatment_mod
54
 
55
 
56
+ @st.cache
57
  def get_cached_data():
58
  languages_df = pd.read_html("https://hf.co/languages")[0]
59
  languages_map = pd.Series(languages_df["Language"].values, index=languages_df["ISO code"]).to_dict()