Download minigpt2/lib/python3.10/site-packages/progressbar/shortcuts.py from ZTWHHH/envs_2: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/minigpt2/lib/python3.10/site-packages/progressbar/shortcuts.py
- Command line
-
hf download hf://datasets/ZTWHHH/envs_2/minigpt2/lib/python3.10/site-packages/progressbar/shortcuts.py
-
curl -L -o shortcuts.py https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/minigpt2/lib/python3.10/site-packages/progressbar/shortcuts.py
390 Bytes
| from . import bar | |
| def progressbar( | |
| iterator, | |
| min_value: int = 0, | |
| max_value=None, | |
| widgets=None, | |
| prefix=None, | |
| suffix=None, | |
| **kwargs, | |
| ): | |
| progressbar = bar.ProgressBar( | |
| min_value=min_value, | |
| max_value=max_value, | |
| widgets=widgets, | |
| prefix=prefix, | |
| suffix=suffix, | |
| **kwargs, | |
| ) | |
| yield from progressbar(iterator) | |