Add option to disable progress bar when reading a dataset ("Loading dataset from disk")
CONTRIBUTOR
You can disable progress bars for all of `datasets` with `disable_progress_bars`. [Link](https://huggingface.co/docs/datasets/en/package_reference/utilities#datasets.enable_progress_bars)

So you could do something like:

```python
from datasets import load_from_disk, enable_progress_bars, disable_progress_bars

disable_progress_bars()
# Your code
load_from_disk(....)

enable_progress_bars()
```

2024-07-13T14:33:48Z
https://github.com/huggingface/datasets/issues/7030#issuecomment-2226931847
https://api.github.com/repos/huggingface/datasets/issues/7030
IC_kwDODunzps6EvEiH
https://api.github.com/repos/huggingface/datasets/issues/comments/2226931847/reactions
2024-07-13T14:33:48Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2226931847
https://avatars.githubusercontent.com/u/8976546?v=4
https://api.github.com/users/Dref360/events{/privacy}
https://api.github.com/users/Dref360/followers
https://api.github.com/users/Dref360/following{/other_user}
https://api.github.com/users/Dref360/gists{/gist_id}
https://github.com/Dref360
Dref360
MDQ6VXNlcjg5NzY1NDY=
https://api.github.com/users/Dref360/orgs
https://api.github.com/users/Dref360/received_events
https://api.github.com/users/Dref360/repos
https://api.github.com/users/Dref360/starred{/owner}{/repo}
https://api.github.com/users/Dref360/subscriptions
User
https://api.github.com/users/Dref360
public
NONE
Thank you! Closing the issue.
2024-07-13T14:35:51Z
https://github.com/huggingface/datasets/issues/7030#issuecomment-2226932489
https://api.github.com/repos/huggingface/datasets/issues/7030
IC_kwDODunzps6EvEsJ
https://api.github.com/repos/huggingface/datasets/issues/comments/2226932489/reactions
2024-07-13T14:35:51Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2226932489
https://avatars.githubusercontent.com/u/57996478?v=4
https://api.github.com/users/yuvalkirstain/events{/privacy}
https://api.github.com/users/yuvalkirstain/followers
https://api.github.com/users/yuvalkirstain/following{/other_user}
https://api.github.com/users/yuvalkirstain/gists{/gist_id}
https://github.com/yuvalkirstain
yuvalkirstain
MDQ6VXNlcjU3OTk2NDc4
https://api.github.com/users/yuvalkirstain/orgs
https://api.github.com/users/yuvalkirstain/received_events
https://api.github.com/users/yuvalkirstain/repos
https://api.github.com/users/yuvalkirstain/starred{/owner}{/repo}
https://api.github.com/users/yuvalkirstain/subscriptions
User
https://api.github.com/users/yuvalkirstain
public
### Feature request

Add an option in load_from_disk to disable the progress bar even if the number of files is larger than 16.

### Motivation

I am reading a lot of datasets that it creates lots of logs.

<img width="1432" alt="image" src="https://github.com/huggingface/datasets/assets/57996478/8d4bbf03-6b89-44b6-937c-932f01b4eb2a">


### Your contribution

Seems like an easy fix to make.  I can create a PR if necessary.