Skip to content

Commit 3f01eb5

Browse files
authored
Fix local benchmark (#7608)
FIX
1 parent 8d40c4f commit 3f01eb5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: e2e/benchmarks/local-benchmark/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,8 @@ <h2>TensorFlow.js Model Benchmark</h2>
10161016
}
10171017

10181018
function updateModelsDropdown(newValues) {
1019+
modelController._names = newValues;
1020+
modelController._values = newValues;
10191021
const tfliteBenchmarksHtml = newValues.map(name => `<option value="${name}">${name}</option>`);
10201022
modelController.domElement.children[1].children[0].innerHTML = tfliteBenchmarksHtml;
10211023
}

0 commit comments

Comments
 (0)