Skip to content

Commit

Permalink
Update wasmedge_test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tpmccallum authored Jan 1, 2022
1 parent e0b960e commit 7524c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faas/mtcnn/test/wasmedge_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ vm.Compile(aot_path);
var vm_aot = new wasmedge.VM(aot_path, { EnableAOT:true, rgs:process.argv, env:process.env, preopens:{"/": "/tmp"} });

// Open image
var img_src = fs.readFileSync("../test/solvay.jpg");
var img_src = fs.readFileSync("solvay.jpg");

// Run function by passing in the image and calling the infer function
var return_value = vm_aot.RunUint8Array("infer", img_src);
Expand Down

0 comments on commit 7524c38

Please sign in to comment.