Incorrect example code in 'Create a dataset' docs
COLLABORATOR
This was fixed in https://github.com/huggingface/datasets/pull/6247. You can find the fix in the `main` version of the docs
2023-10-24T14:16:10Z
https://github.com/huggingface/datasets/issues/6347#issuecomment-1777312237
https://api.github.com/repos/huggingface/datasets/issues/6347
IC_kwDODunzps5p76Ht
https://api.github.com/repos/huggingface/datasets/issues/comments/1777312237/reactions
2023-10-24T14:16:10Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1777312237
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
NONE
Ah great, thanks :)
2023-10-25T13:05:19Z
https://github.com/huggingface/datasets/issues/6347#issuecomment-1779233494
https://api.github.com/repos/huggingface/datasets/issues/6347
IC_kwDODunzps5qDPLW
https://api.github.com/repos/huggingface/datasets/issues/comments/1779233494/reactions
2023-10-25T13:05:19Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1779233494
https://avatars.githubusercontent.com/u/72076688?v=4
https://api.github.com/users/rwood-97/events{/privacy}
https://api.github.com/users/rwood-97/followers
https://api.github.com/users/rwood-97/following{/other_user}
https://api.github.com/users/rwood-97/gists{/gist_id}
https://github.com/rwood-97
rwood-97
MDQ6VXNlcjcyMDc2Njg4
https://api.github.com/users/rwood-97/orgs
https://api.github.com/users/rwood-97/received_events
https://api.github.com/users/rwood-97/repos
https://api.github.com/users/rwood-97/starred{/owner}{/repo}
https://api.github.com/users/rwood-97/subscriptions
User
https://api.github.com/users/rwood-97
public
### Describe the bug

On [this](https://huggingface.co/docs/datasets/create_dataset) page, the example code for loading in images and audio is incorrect.

Currently, examples are:

``` python
from datasets import ImageFolder
dataset = load_dataset("imagefolder", data_dir="/path/to/pokemon")
```
and 
``` python
from datasets import AudioFolder
dataset = load_dataset("audiofolder", data_dir="/path/to/folder")
```

I'm pretty sure the imports are wrong and should be:

``` python 
from datasets import load_dataset
dataset = load_dataset("audiofolder", data_dir="/path/to/folder")
```

I am happy to update this if this is right but just wanted to check before making any changes.

### Steps to reproduce the bug

Go to https://huggingface.co/docs/datasets/create_dataset

### Expected behavior

N/A

### Environment info

N/A