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