ifisinstance(x,gr.Textbox)andfield=='value':# due to an undesirable behavior of gr.Textbox, if you give it an int value instead of str, everything dies
ifisinstance(obj,gr.Textbox)andfield=='value':# due to an undesirable behavior of gr.Textbox, if you give it an int value instead of str, everything dies