Refresh UI post change in URL parameters

Sorry, yes, I’m not sure if I understand your need. With Gradio, you need the app context, i.e. with gr.Blocks() as block or gr.Interface to be able to read URL parameters from gr.Request. You also need gr.State since every user session is different; every URL parameter will be different for each user request, so a global state here won’t work.