Skip to content

Commit

Permalink
testqueue
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelem committed Sep 13, 2023
1 parent 7cfaa7f commit aec5ff7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/routes/run/mobilenet_v2/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@
};
const runTests = async () => {
if (testQueue[0] && location.pathname.replace('/run/', '') === testQueue[0].model) {
if (
testQueue[0] &&
location.pathname.replace('/web-ai-benchmark/run/', '').replace('/run/', '') ===
testQueue[0].model
) {
let t0 = testQueue[0];
let r = {
id: t0.id,
Expand Down
6 changes: 5 additions & 1 deletion src/routes/run/resnet50_v1/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@
};
const runTests = async () => {
if (testQueue[0] && location.pathname.replace('/run/', '') === testQueue[0].model) {
if (
testQueue[0] &&
location.pathname.replace('/web-ai-benchmark/run/', '').replace('/run/', '') ===
testQueue[0].model
) {
let t0 = testQueue[0];
let r = {
id: t0.id,
Expand Down

0 comments on commit aec5ff7

Please sign in to comment.