We need to have a button execute the custom Javascript loaded in a Gradio app so that we can call the bridge and eventually run the ML model. We also then need to capture the result and do something with it. This is an asynchronous call from the Browser to the API below.
We need to have a button execute the custom Javascript loaded in a Gradio app so that we can call the bridge and eventually run the ML model. We also then need to capture the result and do something with it. This is an asynchronous call from the Browser to the API below.