lewtun HF staff commited on
Commit
bf0dd52
1 Parent(s): 7f35e51

Fix AutoTrain endpoints

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ with st.expander("Advanced configuration"):
92
  ## Select columns
93
  rows_resp = http_get(
94
  path="/rows",
95
- domain="https://datasets-preview.huggingface.tech",
96
  params={"dataset": selected_dataset, "config": selected_config, "split": selected_split},
97
  ).json()
98
  col_names = list(pd.json_normalize(rows_resp["rows"][0]["row"]).columns)
 
92
  ## Select columns
93
  rows_resp = http_get(
94
  path="/rows",
95
+ domain=DATASETS_PREVIEW_API,
96
  params={"dataset": selected_dataset, "config": selected_config, "split": selected_split},
97
  ).json()
98
  col_names = list(pd.json_normalize(rows_resp["rows"][0]["row"]).columns)