DrishtiSharma commited on
Commit
085efcc
·
verified ·
1 Parent(s): 5f64a77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def load_dataset_into_session():
55
  )
56
  if st.button("Load Hugging Face Dataset"):
57
  try:
58
- dataset = load_dataset(dataset_name, name="all", split="train", trust_remote_code=True, uniform_split=True)
59
  if hasattr(dataset, "to_pandas"):
60
  st.session_state.df = dataset.to_pandas()
61
  else:
 
55
  )
56
  if st.button("Load Hugging Face Dataset"):
57
  try:
58
+ dataset = load_dataset(dataset_name, name="sample", split="train", trust_remote_code=True, uniform_split=True)
59
  if hasattr(dataset, "to_pandas"):
60
  st.session_state.df = dataset.to_pandas()
61
  else: