nlewins commited on
Commit
c122898
·
1 Parent(s): e064c00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,6 +2,7 @@
2
 
3
 
4
 
 
5
  # import module
6
  import streamlit as st
7
 
@@ -25,7 +26,7 @@ def load():
25
  column_with_english_text="en"
26
  column_with_other_text="transcription"
27
 
28
- ds = datasets.load_dataset(dataset, token=access_token if access_token=="" else st.secrets["hf_token"], split=datasets.ReadInstruction("test",from_=skip,to=skip+50))
29
  for example in ds:
30
  df=pd.DataFrame([example[column_with_other_text],example[column_with_english_text]])
31
  st.table(df.values)
 
2
 
3
 
4
 
5
+
6
  # import module
7
  import streamlit as st
8
 
 
26
  column_with_english_text="en"
27
  column_with_other_text="transcription"
28
 
29
+ ds = datasets.load_dataset(dataset, token=access_token if access_token!="" else st.secrets["hf_token"], split=datasets.ReadInstruction("test",from_=skip,to=skip+50))
30
  for example in ds:
31
  df=pd.DataFrame([example[column_with_other_text],example[column_with_english_text]])
32
  st.table(df.values)