Dataset Viewer issue: DatasetWithScriptNotSupportedError

#1
by carlosdanielhernandezmena - opened

The dataset viewer is not working.

Error details:

I was trying something and I put a "print" in the code. So, I saw the errror. Fair enough.
The problem is when I removed that "print" but the error remains the same.
This code was working well before.
Please help me

Error code:   DatasetWithScriptNotSupportedError

cc @albertvillanova @lhoestq @severo .

Yes, the dataset viewer does not support anymore the datasets with a script, it's a recent change we did for security purpose. To get the dataset viewer, you can try to move it to data-only, as explained in the docs: https://huggingface.co/docs/hub/datasets-data-files-configuration, or use the converter space made by @albertvillanova : https://huggingface.co/spaces/albertvillanova/convert-dataset-to-parquet

Please tell us how it goes.

Sign up or log in to comment