speech-test commited on
Commit
cbdec74
β€’
1 Parent(s): 0a6b8e4

cache messages

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -114,6 +114,7 @@ def suggest_datasets(datasets):
114
  return ""
115
 
116
 
 
117
  def generate_note(lang, lang_df):
118
  lang_name = lang2name[lang] if lang in lang2name else ""
119
  num_models = len(lang_df["model_id"].unique())
 
114
  return ""
115
 
116
 
117
+ @st.cache(ttl=600)
118
  def generate_note(lang, lang_df):
119
  lang_name = lang2name[lang] if lang in lang2name else ""
120
  num_models = len(lang_df["model_id"].unique())