diff --git a/example/index.html b/example/index.html index 328832d..82aaeab 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) {