Dataset Viewer issue: DatasetWithScriptNotSupportedError

#1
by TomTBT - opened
Owner

The dataset viewer is not working.

Error details:

Error code:   DatasetWithScriptNotSupportedError

The dataset viewer is not working.

Error details:

Error code:   DatasetWithScriptNotSupportedError

Hello, the script I have in this dataset seems to no longer be accepted. But the script still works fine if I execute it locally
What can I can do to make the preview come back?

Thank you

cc @albertvillanova @lhoestq @severo .

Hi. Due to security concerns, we don't support datasets with a script in the dataset viewer anymore. To get the viewer back, you must convert your dataset to "data-only": https://huggingface.co/docs/hub/datasets-data-files-configuration. You can use https://huggingface.co/spaces/albertvillanova/convert-dataset-to-parquet to try to get it done automatically (ping @albertvillanova ).

Sign up or log in to comment