hi @zzzzzz not all Gradio apps have the API enabled, so there is not an easy way to use it. You could use the internal queue endpoint, but it’s not straightforward.
Hi @zzzzzz just wanted to add that the “view API” page will show up if you add the api_name parameter when you define the events in your gradio Blocks.
@zzzzzz, as an alternative to the REST API, you can load an app via the load class method on gradio.Blocks and then treat it like a regular python function.
This behaves the same as the REST API but abstracts away the logic of writing the request yourself.