Skip to content

Commit

Permalink
Fix #283 Do not select Float32 and Float16 at the same time (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelem authored Oct 12, 2024
1 parent 5085691 commit bc4cf3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions image_classification/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ $('#backendBtns .btn').on('change', async (e) => {
if (backendId == 'webnn_gpu') {
ui.handleBtnUI('#float16Label', false);
ui.handleBtnUI('#float32Label', false);
$('#float32').click();
utils.displayAvailableModels(modelList, modelIds, deviceType, dataType);
} else if (backendId == 'webnn_npu') {
ui.handleBtnUI('#float16Label', false);
Expand Down

0 comments on commit bc4cf3d

Please sign in to comment.