Dataset Viewer issue for nlphuji/winogavil
### Link

https://huggingface.co/datasets/nlphuji/winogavil

### Description

The dataset viewer is not working for dataset nlphuji/winogavil.

Error details:

```
Error code:   UnexpectedError
Type is not JSON serializable: PngImageFile
```

**TLDR**: Is there an option to ignore a specific dataset field *only* in the Dataset Viewer, and to keep it as the part of the dataset otherwise? 

My dataset includes a field named "candidates" which is a list of strings, where each string is a filename reference. 
In the process script ([here](https://huggingface.co/datasets/nlphuji/winogavil/blob/main/winogavil.py#L116)) I transform each of the filenames to a png. 

This code:
```python
winogavil = load_dataset("nlphuji/winogavil", use_auth_token=auth_token)["test"]
print(winogavil[0]['candidates'])
print(winogavil[0]['candidates_images'])
```
returns the following:
```python
['eagle', 'teepee', 'factory', 'metal', 'ash']
[<PIL.PngImagePlugin.PngImageFile image mode=RGB size=2384x2384 at 0x7F6ABC6AA2D0>, <PIL.PngImagePlugin.PngImageFile image mode=RGB size=1500x1500 at 0x7F6ABC6AA390>, <PIL.PngImagePlugin.PngImageFile image mode=RGB size=1400x1400 at 0x7F6ABC6AAA50>, <PIL.PngImagePlugin.PngImageFile image mode=RGB size=2400x2400 at 0x7F6ABC6AAA10>, <PIL.PngImagePlugin.PngImageFile image mode=RGB size=900x900 at 0x7F6ABC6AA4D0>]
```

This is the intended use for my dataset, and the only gap is that it does not work in the Dataset Viewer.

Ideally, it will show each image name as string, and have an option to "click" it and to show image. 

- Do you have a support for a list of images in the Dataset Viewer?
- If not, is there an option just to eliminate the "candidate_images" field ONLY in the viewer, and keep it as a part of the dataset (with load_dataset)?

[This colab](https://colab.research.google.com/drive/19qcPovniLj2PiLlP75oFgsK-uhTr6SSi?usp=sharing) shows a usage example for my dataset with huggingface, if that helps. 

I managed to reach a solution by defining it as a list of strings rather than images:

```python
#"candidates_images": [img]
"candidates_images": [datasets.Value("string")]
```

It means that this field will hold the strings and the dataset user will need to read it to an image object. 

Now `['candidates_images'][0]` is
`'/root/.cache/huggingface/datasets/downloads/extracted/0d79b7f800bd172835f30786bdc7e6b20178375a9b927086b7f1ce0af27d63d4/winogavil_images/eagle.jpg'`
And its possible to read it with Pillow.Image.open

This solution is fine with me, but I am wondering if there is a better solution. 

Thanks! 
Dataset Viewer issue for nlphuji/winogavil: ### Link

https://huggingface.co/datasets/nlphuji/winogavil

### Description

The dataset viewer is not working for dataset nlphuji/winogavil.

Error details:

```
Error code:   UnexpectedError
Type is not JSON serializable: PngImageFile
```

**TLDR**: Is there an option to ignore a specific dataset field *only* in the Dataset Viewer, and to keep it as the part of the dataset otherwise? 

My dataset includes a field named "candidates" which is a list of strings, where each string is a filename reference. 
In the process script ([here](https://huggingface.co/datasets/nlphuji/winogavil/blob/main/winogavil.py#L116)) I transform each of the filenames to a png. 

This code:
```python
winogavil = load_dataset("nlphuji/winogavil", use_auth_token=auth_token)["test"]
print(winogavil[0]['candidates'])
print(winogavil[0]['candidates_images'])
```
returns the following:
```python
['eagle', 'teepee', 'factory', 'metal', 'ash']
[<PIL.PngImagePlugin.PngImageFile image mode=RGB size=2384x2384 at 0x7F6ABC6AA2D0>, <PIL.PngImagePlugin.PngImageFile image mode=RGB size=1500x1500 at 0x7F6ABC6AA390>, <PIL.PngImagePlugin.PngImageFile image mode=RGB size=1400x1400 at 0x7F6ABC6AAA50>, <PIL.PngImagePlugin.PngImageFile image mode=RGB size=2400x2400 at 0x7F6ABC6AAA10>, <PIL.PngImagePlugin.PngImageFile image mode=RGB size=900x900 at 0x7F6ABC6AA4D0>]
```

This is the intended use for my dataset, and the only gap is that it does not work in the Dataset Viewer.

Ideally, it will show each image name as string, and have an option to "click" it and to show image. 

- Do you have a support for a list of images in the Dataset Viewer?
- If not, is there an option just to eliminate the "candidate_images" field ONLY in the viewer, and keep it as a part of the dataset (with load_dataset)?

[This colab](https://colab.research.google.com/drive/19qcPovniLj2PiLlP75oFgsK-uhTr6SSi?usp=sharing) shows a usage example for my dataset with huggingface, if that helps. 

I managed to reach a solution by defining it as a list of strings rather than images:

```python
#"candidates_images": [img]
"candidates_images": [datasets.Value("string")]
```

It means that this field will hold the strings and the dataset user will need to read it to an image object. 

Now `['candidates_images'][0]` is
`'/root/.cache/huggingface/datasets/downloads/extracted/0d79b7f800bd172835f30786bdc7e6b20178375a9b927086b7f1ce0af27d63d4/winogavil_images/eagle.jpg'`
And its possible to read it with Pillow.Image.open

This solution is fine with me, but I am wondering if there is a better solution. 

Thanks! 