Call a javascript function to read querystring from URL
I have seen examples of calling javascript function to read query string in Blocks.load with input and output specified. What I would like is to call javascript function in Blocks.load without any UI (input and output) since I am using ChatBot. Can anybody please help?
2023-04-13T06:43:12Z
hi@tariqzack,That’s possible, but you still need a dummy component to get the url param value,then you can read it from the chatbot componenthere is an examplejust typeread queryto make the chatbot return the onload query param state.huggingface.coGradio Chabot read query params - a Hugging Face Space by radamesDiscover amazing ML apps made by the community
2023-04-16T06:49:03Z
Thanks for the solution…@radames