Hi @Bigiman,
thank you, this works as expected! Itβs never too late Even if I did not use Gradio for my project in the end and switched to Glade + GTK (not due to this issue, but due to how Gradio handles long videos), I still appreciate the answer, so that I know how to do it properly in the future.
I guess I failed to understand the whole concept behind it, my assumption was that the handler gets instances of other components as parameters, allowing me to access them. In your example however, the o
parameter is not being used in the handler at all?
How does the code:
def b_clicked(o):
return gr.Button.update(interactive=True)
know, which button it is updating? Is this implied by outputs = o
?
How would this work if I wanted to update several components at once, say, if we had βOther Button 1β and βOther button 2β there?
Kind regards,
Jin