Machine Learning - Bug fixes (#10377)

* Fixing ML extension bugs
This commit is contained in:
Leila Lali
2020-05-14 12:46:47 -07:00
committed by GitHub
parent d3e1675fc5
commit 0258b1727a
22 changed files with 382 additions and 126 deletions

View File

@@ -492,7 +492,9 @@ export class DashboardWidget {
'padding': '10px'
}
});
predictionButton.enabled = await this._predictService.serverSupportOnnxModel();
if (!await this._predictService.serverSupportOnnxModel()) {
console.log(constants.onnxNotSupportedError);
}
return tasksContainer;
}