meg-huggingface commited on
Commit
55a6a06
1 Parent(s): 14e5c2a

Removing option for c4 no clean

Browse files
data_measurements/streamlit_utils.py CHANGED
@@ -48,7 +48,10 @@ def sidebar_selection(ds_name_to_dict, column_id):
48
  )
49
  # choose a config to analyze
50
  ds_configs = ds_name_to_dict[ds_name]
51
- config_names = list(ds_configs.keys())
 
 
 
52
  config_name = st.selectbox(
53
  f"Choose configuration{column_id}:",
54
  config_names,
 
48
  )
49
  # choose a config to analyze
50
  ds_configs = ds_name_to_dict[ds_name]
51
+ if ds_name == "c4":
52
+ config_names = ['en','en.noblocklist','realnewslike']
53
+ else:
54
+ config_names = list(ds_configs.keys())
55
  config_name = st.selectbox(
56
  f"Choose configuration{column_id}:",
57
  config_names,