From 899feb01e3942d0ab3abf117a742203808aaa550 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Thu, 27 Aug 2020 09:04:42 -0400 Subject: [PATCH] updated --- example/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/index.html b/example/index.html index 82aaeab..930a78e 100644 --- a/example/index.html +++ b/example/index.html @@ -6,7 +6,7 @@ - + @@ -18,11 +18,11 @@ /* tfjs should be loaded explicitly and is not embedded inside facepi.js to keep size small and allow reusability */ // configuration options - const modelPath = 'weights'; // relative path to model that will be loaded using http + const modelPath = '../weights'; // relative path to model that will be loaded using http const imgSize = 512; // maximum image size in pixels const minScore = 0.1; // minimum score const maxResults = 5; // maximum number of results to return - const samples = ['example/sample (1).jpg', 'example/sample (2).jpg', 'example/sample (3).jpg', 'example/sample (4).jpg', 'example/sample (5).jpg', 'example/sample (6).jpg']; // sample images to be loaded using http + const samples = ['../example/sample (1).jpg', '../example/sample (2).jpg', '../example/sample (3).jpg', '../example/sample (4).jpg', '../example/sample (5).jpg', '../example/sample (6).jpg']; // sample images to be loaded using http // helper function to pretty-print json object to string function str(json) {