# Creating dynamic feedback recording app

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreating-dynamic-feedback-recording-app%2F62867%3E%5C
**Category:** 🔒 Gradio\
**Created:** [November 20, 2023, 2:59pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreating-dynamic-feedback-recording-app%2F62867 "2023-11-20T14:59:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jvelja](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/jvelja/32/21355_2.png) [@jvelja](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjvelja)%5C
**Post date:** [November 20, 2023, 2:59pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcreating-dynamic-feedback-recording-app%2F62867%2F1 "2023-11-20T14:59:10Z")

</div>

Hi all,

Still quite new at Gradio, but I was trying to implement a new functionality to my web app. My app works as follows:

I have a JSONL file that gets uploaded to the app and its rows are read. A button allows for the output of N sample JSONs from the JSONL. I would like to implement a feedback loop to evaluate the quality of the JSONs rendered on page, that is, via clicking a thumbs up/down button for each rendered JSON, the app records the feedback for that JSON and finally, is able to render a new JSONL for download that only includes JSONs that have No feedback (assuming that not all samples make it to the screen) or positive feedback. I tried to wrap my head around this the entire day, but without success due to being unable to make gradio interact with a JS script i made to handle clicks on buttons. Any help is well appreciated!
