From 72f2d5c4880f5c1e7fe4884e7aa95501c13baaa5 Mon Sep 17 00:00:00 2001 From: Justin Georgi Date: Wed, 21 Feb 2024 17:55:23 -0700 Subject: [PATCH] Fix Cordova mobile and PWA model locations (#104) Signed-off-by: Justin Georgi Reviewed-on: https://gitea.azgeorgis.net/Georgi_Lab/ALVINN_f7/pulls/104 --- src/pages/detect.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/detect.vue b/src/pages/detect.vue index ad87a63..d42a3ec 100644 --- a/src/pages/detect.vue +++ b/src/pages/detect.vue @@ -333,7 +333,10 @@ this.activeRegion = 0 this.detectorName = 'thorax' this.classesList = thoraxClasses - this.modelLocation = '../models/thorax_tfwm/model.json' + /* VITE setting */ + //this.modelLocation = '../models/thorax_tfwm/model.json' + /* PWA Build setting */ + this.modelLocation = './models/thorax_tfwm/model.json' this.modelLocationCordova = 'https://localhost/models/thorax_tfwm/model.json' break; case 'abdomen':