# Progress bar for audio folder data loader

**URL:** <https://support.prodi.gy/t/progress-bar-for-audio-folder-data-loader/4158>\
**Category:** Uncategorized\
**Tags:** enhancement, to-be-released, streams\
**Created:** [April 21, 2021, 10:56am UTC](https://support.prodi.gy/t/progress-bar-for-audio-folder-data-loader/4158 "2021-04-21T10:56:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcwalther](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/tcwalther/32/1896_2.png) [@tcwalther](https://support.prodi.gy/u/tcwalther)\
**Post date:** [April 21, 2021, 10:56am UTC](https://support.prodi.gy/t/progress-bar-for-audio-folder-data-loader/4158/1 "2021-04-21T10:56:24Z")

</div>

I currently run Prodigy as follows:

```python
prodigy audio.manual dataset_name dataset_folder --label LABEL1,LABEL2

```

Unfortunately, the UI doesn't display a total count on the progress. Looks like internally, the stream is an iterator and not a list of the filenames. Would it be possible to change that? I'd love to see the total progress in the sidebar.

Best,  
Thomas

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [April 22, 2021, 7:21am UTC](https://support.prodi.gy/t/progress-bar-for-audio-folder-data-loader/4158/2 "2021-04-22T07:21:17Z")

</div>

This is a good point and something I've wanted to add for a while: the file loaders should at least expose a ` __len__ `, since they'll know how many files they'll load from, and just enumerating the file names upfront isn't expensive.

In the meantime, you can work around this by just calling `list` around the `stream` in the recipe.

---

<div class="post-metadata">

**Author:** ![tcwalther](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/tcwalther/32/1896_2.png) [@tcwalther](https://support.prodi.gy/u/tcwalther)\
**Post date:** [April 28, 2021, 11:37am UTC](https://support.prodi.gy/t/progress-bar-for-audio-folder-data-loader/4158/3 "2021-04-28T11:37:31Z")

</div>

Awesome, thanks so much!
