# Dataset repo requires arbitrary Python code execution

**URL:** <https://discuss.huggingface.co/t/dataset-repo-requires-arbitrary-python-code-execution/59346>\
**Category:** 🤗Datasets\
**Created:** [October 21, 2023, 12:44am UTC](https://discuss.huggingface.co/t/dataset-repo-requires-arbitrary-python-code-execution/59346 "2023-10-21T00:44:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![lhoestq](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lhoestq/32/52888_2.png) [@lhoestq](https://discuss.huggingface.co/u/lhoestq)\
**Post date:** [October 21, 2023, 10:08am UTC](https://discuss.huggingface.co/t/dataset-repo-requires-arbitrary-python-code-execution/59346/5 "2023-10-21T10:08:43Z")

</div>

We had to disable the viewer for datasets with a script for now, because some people were abusing it. Sorry for the inconvenience.

We’re seeing if there is a viable long-term solution.

In the meantime, if you want the dataset viewer to work you need to remove the dataset script and use a supported data format (csv, parquet, etc.) Personnally I’d recommend uploading the dataset using the `datasets` library and `push_to_hub()`.

---

_[View the full topic](https://discuss.huggingface.co/t/dataset-repo-requires-arbitrary-python-code-execution/59346)._
