reshinthadith commited on
Commit
95454f9
1 Parent(s): e4ba819

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,6 +7,6 @@ splits = ['Bible', 'EuroParliamentProceedings', 'TED2020', 'PileOfLaw', 'StackEx
7
  st.sidebar.title('Pile v2 Explorer')
8
  split = st.sidebar.selectbox('Select a split', splits)
9
  st.sidebar.write('You selected:', split)
10
- dataset = datasets.load_dataset('CarperAI/pile-v2-small-filtered', data_dir=split+"/data.json",use_auth_token=True)
11
  index = st.sidebar.slider('Select a row', 0, len(dataset['train'])-1, 0)
12
  st.write(dataset['train'][index]['text'])
 
7
  st.sidebar.title('Pile v2 Explorer')
8
  split = st.sidebar.selectbox('Select a split', splits)
9
  st.sidebar.write('You selected:', split)
10
+ dataset = datasets.load_dataset('CarperAI/pile-v2-small-filtered', data_dir=split+"/data.json")
11
  index = st.sidebar.slider('Select a row', 0, len(dataset['train'])-1, 0)
12
  st.write(dataset['train'][index]['text'])