Gradio Python – Passing Component Values to Function and Updating Interface
I am trying to implement a Gradio app that takes in a json of a conversation between users and an AI. The input json is formatted as such, where there are multiple conversations, each has an associated set of possible responses from the AI: