Dataset Viewer issue: DatasetWithScriptNotSupportedError

#1
by siyue - opened
Owner

The dataset viewer is not working.

Error details:

Error code:   DatasetWithScriptNotSupportedError

cc @albertvillanova @lhoestq @severo .

Indeed, for security reasons, the dataset viewer does not support scripts anymore. You can transform the dataset to data-only by uploading the data files to your repo, removing the script, and configuring the README following https://huggingface.co/docs/hub/datasets-manual-configuration.

Alternatively, you can load your dataset locally, then push it using https://huggingface.co/docs/datasets/upload_dataset#upload-with-python.

Sign up or log in to comment