You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the render function is injecting the value of gr.State before the state value is called AND after the state value is called. It should only inject the called value not the callable itself if I understand correctly
I've also had this happen for regular .change events on Chatbot. This can potentially break a lot of things.
brycepg
changed the title
render injecting function callable instead of called function value for State
events injecting function callable instead of called function value for State
Mar 3, 2025
brycepg
changed the title
events injecting function callable instead of called function value for State
Events injecting function callable instead of called function value for State
Mar 3, 2025
brycepg
changed the title
Events injecting function callable instead of called function value for State
Events injecting function instead of called function value for State
Mar 3, 2025
brycepg
changed the title
Events injecting function instead of called function value for State
Events injecting function instead of called function value for gr.State
Mar 3, 2025
Describe the bug
I've noticed that the render function is injecting the value of gr.State before the state value is called AND after the state value is called. It should only inject the called value not the callable itself if I understand correctly
Have you searched existing issues? 🔎
Reproduction
Logs
Here is the output of the above code from the print statement inside the decorated render function:
System Info
Severity
I can't work around it
The text was updated successfully, but these errors were encountered: