reshinthadith commited on
Commit
a4b7ec2
1 Parent(s): d79b272

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def load_page(split):
28
  st.write(f"# {split}")
29
  st.caption(f"Contributors: {','.join(contribution_dict[split])}")
30
  with st.form("dataset_form"):
31
- index = st.slider('Select a row', 0, len(ds['train'])-1, 0)
32
  if st.form_submit_button("Load"):
33
  st.write(f"Row {index}")
34
  data = ds[index]
 
28
  st.write(f"# {split}")
29
  st.caption(f"Contributors: {','.join(contribution_dict[split])}")
30
  with st.form("dataset_form"):
31
+ index = st.slider('Select a row', 0, len(ds)-1, 0)
32
  if st.form_submit_button("Load"):
33
  st.write(f"Row {index}")
34
  data = ds[index]