Spaces:
Runtime error
Runtime error
Fix AutoTrain endpoints
Browse files
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=
|
| 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)
|