Get URL Parameters from Blocks -> Global Variable

Hi,

How can I access the url parameterslocally in the code so I can use them? None of the gradio components seem to have a return output of the url parameters.

Here is post I commented about this issue: Refresh UI post change in URL parameters - #2 by blackmarkt

Thank you

Here is the github thread: