Joe Davison commited on
Commit
d134381
1 Parent(s): bf132c2

disable spinners

Browse files
Files changed (1) hide show
  1. tagging_app.py +2 -2
tagging_app.py CHANGED
@@ -102,7 +102,7 @@ def find_languages(feature_dict):
102
 
103
  keep_keys = ['description', 'features', 'homepage', 'license', 'splits']
104
 
105
- @st.cache
106
  def get_info_dicts(dataset_id):
107
  module_path = datasets.load.prepare_module(dataset_id, dataset=True)
108
  builder_cls = datasets.load.import_main_class(module_path[0], dataset=True)
@@ -119,7 +119,7 @@ def get_info_dicts(dataset_id):
119
  def get_dataset_list():
120
  return datasets.list_datasets()
121
 
122
- @st.cache()
123
  def load_all_dataset_infos(dataset_list):
124
  dataset_infos = {}
125
  for did in dataset_list:
 
102
 
103
  keep_keys = ['description', 'features', 'homepage', 'license', 'splits']
104
 
105
+ @st.cache(show_spinner=False)
106
  def get_info_dicts(dataset_id):
107
  module_path = datasets.load.prepare_module(dataset_id, dataset=True)
108
  builder_cls = datasets.load.import_main_class(module_path[0], dataset=True)
 
119
  def get_dataset_list():
120
  return datasets.list_datasets()
121
 
122
+ @st.cache(show_spinner=False)
123
  def load_all_dataset_infos(dataset_list):
124
  dataset_infos = {}
125
  for did in dataset_list: