yenniejun commited on
Commit
c1ad373
1 Parent(s): aaff21f

Update small formatting things:

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -29,15 +29,15 @@ tokenizer_names_to_test = [
29
  ]
30
 
31
  with st.sidebar:
32
- st.subheader('Model')
33
  # TODO multi-select tokenizers
34
- tokenizer_name = st.sidebar.selectbox('Select tokenizer', options=tokenizer_names_to_test)
35
 
36
- st.subheader('Data')
37
  with st.spinner('Loading dataset...'):
38
  val_data = load_data()
39
  st.success(f'Data loaded: {len(val_data)}')
40
-
41
  languages = st.multiselect(
42
  'Select languages',
43
  options=sorted(val_data.lang.unique()),
 
29
  ]
30
 
31
  with st.sidebar:
32
+ st.subheader('Tokenizer')
33
  # TODO multi-select tokenizers
34
+ tokenizer_name = st.sidebar.selectbox('Select tokenizer', options=tokenizer_names_to_test, label_visibility='collapsed')
35
 
36
+ st.subheader('Data Source: [Amazon Massive](https://huggingface.co/datasets/AmazonScience/massive/viewer/af-ZA/validation)')
37
  with st.spinner('Loading dataset...'):
38
  val_data = load_data()
39
  st.success(f'Data loaded: {len(val_data)}')
40
+
41
  languages = st.multiselect(
42
  'Select languages',
43
  options=sorted(val_data.lang.unique()),