I need example code for switching tabs when a button clicked, processing started So i have a long AI process When user clicks button I need it to switch tab after processing started but so far I am not sucessfull Using latest Gradio So the key is it has to switch tab as soon as processing starts and not wait process to finish I am trying with javascript but in that case so far the parameters are not passed to the function so processing not starting <img width="1188" height="446" alt="Image" src="https://github.com/user-attachments/assets/f1ca6fd1-7d53-4da8-8914-2b457703a008" />