TensorFlowJS model.predict() blocking UI

前端 未结 0 1237
星月不相逢
星月不相逢 2020-12-22 15:25

I have a button that calls model.predict() and should be immediately disabled:

predict(event: any) {
  event.target.disabled = true;
  this.bg();         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题