Trouble with finding flagged output
In Spaces there is a flag button on the output widget and I can’t seem to figure out how to find the text that has been flagged.I have tried setting the flagged_dir argument in Gradio’s interface function to a number of paths: my username/app, my username/app/blob, and my username/app/blob/main, as well as all those with ‘/flagged’ appended.  I had imagined that if successful, a folder would appear in the repo for my app containing text files.  Is that something I would need to do more to set up?I was attempting to work it out last night and today my flag button is disabled in both of my spaces, which makes me wonder if I was cut off by HF for flag abuse, but that’s a separate question.What am I missing about flagging?Should I be raising this question in a Gradio forum instead?
2023-04-10T10:10:27Z
Same point here.Any solution? I strongly need the feedback from my users
2023-04-10T16:56:10Z
hi@dariolopez,If you’re running flagging with Gradio, you’ll need to set some form of data persistency. In our guide you can learn how to sync the flagged data into a dataset on our hub.gradio.appUsing FlaggingA Step-by-Step Gradio Tutorial
2023-04-20T17:05:52Z
Thanks@radames,It worked fine. I was expecting the dataset to be created in a folder in the own Space, but actually it was saved in a dataset on HuggingFace usingHuggingFaceDatasetSaver.
2023-04-24T14:27:06Z
Yes that’s true. The space filesystem is ephemeral so the flagged data would not persist past restarts if it was saved on the space.