when infotext is loaded from params.txt, the state enabled checkbox of Dynamic Threshold will be changed but no event fired. I guess this is a bug of Gradio checkbox. (and I assume the change event should be fired)
this hack will synchronize the original checkbox state with the fake checkbox.
when infotext is loaded from
params.txt
, the stateenabled
checkbox of Dynamic Threshold will be changed but no event fired. I guess this is a bug of Gradio checkbox. (and I assume thechange
event should be fired)this hack will synchronize the original checkbox state with the fake checkbox.