Spaces:
Runtime error
Runtime error
Merge pull request #7 from huggingface/fix-endpoints
Browse files91 unmodified lines9293949596979891 unmodified lines## Select columnsrows_resp = http_get(path="/rows",domain="https://datasets-preview.huggingface.tech",params={"dataset": selected_dataset, "config": selected_config, "split": selected_split},).json()col_names = list(pd.json_normalize(rows_resp["rows"][0]["row"]).columns)91 unmodified lines9293949596979891 unmodified lines## Select columnsrows_resp = http_get(path="/rows",domain=DATASETS_PREVIEW_API,params={"dataset": selected_dataset, "config": selected_config, "split": selected_split},).json()col_names = list(pd.json_normalize(rows_resp["rows"][0]["row"]).columns)
app.py+1-1