Unable to view the Gradio flagged call back dataset
MEMBER
Hi @kingabzpro.

I think you need to create a loading script that creates the dataset from the CSV file and the image paths.

As example, you could have a look at the Food-101 dataset: https://huggingface.co/datasets/food101
- Loading script: https://huggingface.co/datasets/food101/blob/main/food101.py

Once the loading script is created, the viewer will show a previsualization of your dataset. 
2022-02-21T10:12:23Z
https://github.com/huggingface/datasets/issues/3760#issuecomment-1046697268
https://api.github.com/repos/huggingface/datasets/issues/3760
IC_kwDODunzps4-Y1U0
https://api.github.com/repos/huggingface/datasets/issues/comments/1046697268/reactions
2022-02-21T10:12:23Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1046697268
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
@albertvillanova I don't think this is the issue. I have created another dataset with similar files and format and it works. https://huggingface.co/datasets/kingabzpro/savtadepth-flags-V2
2022-02-21T10:18:07Z
https://github.com/huggingface/datasets/issues/3760#issuecomment-1046705280
https://api.github.com/repos/huggingface/datasets/issues/3760
IC_kwDODunzps4-Y3SA
https://api.github.com/repos/huggingface/datasets/issues/comments/1046705280/reactions
2022-02-21T10:18:07Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1046705280
https://avatars.githubusercontent.com/u/36753484?v=4
https://api.github.com/users/kingabzpro/events{/privacy}
https://api.github.com/users/kingabzpro/followers
https://api.github.com/users/kingabzpro/following{/other_user}
https://api.github.com/users/kingabzpro/gists{/gist_id}
https://github.com/kingabzpro
kingabzpro
MDQ6VXNlcjM2NzUzNDg0
https://api.github.com/users/kingabzpro/orgs
https://api.github.com/users/kingabzpro/received_events
https://api.github.com/users/kingabzpro/repos
https://api.github.com/users/kingabzpro/starred{/owner}{/repo}
https://api.github.com/users/kingabzpro/subscriptions
User
https://api.github.com/users/kingabzpro
public
MEMBER
Yes, you are right, that was not the issue.

Just take into account that sometimes the viewer can take some time until it shows the preview of the dataset.
After some time, yours is finally properly shown: https://huggingface.co/datasets/kingabzpro/savtadepth-flags
2022-02-21T15:42:56Z
https://github.com/huggingface/datasets/issues/3760#issuecomment-1047010591
https://api.github.com/repos/huggingface/datasets/issues/3760
IC_kwDODunzps4-aB0f
https://api.github.com/repos/huggingface/datasets/issues/comments/1047010591/reactions
2022-02-21T15:42:56Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1047010591
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
The problem was resolved by deleted the dataset and creating new one with similar name and then clicking on flag button.
2022-02-21T16:00:04Z
https://github.com/huggingface/datasets/issues/3760#issuecomment-1047025508
https://api.github.com/repos/huggingface/datasets/issues/3760
IC_kwDODunzps4-aFdk
https://api.github.com/repos/huggingface/datasets/issues/comments/1047025508/reactions
2022-02-21T16:00:04Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1047025508
https://avatars.githubusercontent.com/u/36753484?v=4
https://api.github.com/users/kingabzpro/events{/privacy}
https://api.github.com/users/kingabzpro/followers
https://api.github.com/users/kingabzpro/following{/other_user}
https://api.github.com/users/kingabzpro/gists{/gist_id}
https://github.com/kingabzpro
kingabzpro
MDQ6VXNlcjM2NzUzNDg0
https://api.github.com/users/kingabzpro/orgs
https://api.github.com/users/kingabzpro/received_events
https://api.github.com/users/kingabzpro/repos
https://api.github.com/users/kingabzpro/starred{/owner}{/repo}
https://api.github.com/users/kingabzpro/subscriptions
User
https://api.github.com/users/kingabzpro
public
NONE
I think if you make manual changes to dataset the whole system breaks. 
2022-02-21T16:00:30Z
https://github.com/huggingface/datasets/issues/3760#issuecomment-1047025893
https://api.github.com/repos/huggingface/datasets/issues/3760
IC_kwDODunzps4-aFjl
https://api.github.com/repos/huggingface/datasets/issues/comments/1047025893/reactions
2022-02-21T16:00:30Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1047025893
https://avatars.githubusercontent.com/u/36753484?v=4
https://api.github.com/users/kingabzpro/events{/privacy}
https://api.github.com/users/kingabzpro/followers
https://api.github.com/users/kingabzpro/following{/other_user}
https://api.github.com/users/kingabzpro/gists{/gist_id}
https://github.com/kingabzpro
kingabzpro
MDQ6VXNlcjM2NzUzNDg0
https://api.github.com/users/kingabzpro/orgs
https://api.github.com/users/kingabzpro/received_events
https://api.github.com/users/kingabzpro/repos
https://api.github.com/users/kingabzpro/starred{/owner}{/repo}
https://api.github.com/users/kingabzpro/subscriptions
User
https://api.github.com/users/kingabzpro
public
## Dataset viewer issue for '*savtadepth-flags*'

**Link:** *[savtadepth-flags](https://huggingface.co/datasets/kingabzpro/savtadepth-flags)*

*with the Gradio 2.8.1 the dataset viers stopped working. I tried to add values manually but its not working. The dataset is also not showing the link with the app https://huggingface.co/spaces/kingabzpro/savtadepth.*

Am I the one who added this dataset ? Yes
