fix: relocate local mediapipe model asset
This commit is contained in:
@@ -18,7 +18,7 @@ export interface FaceLandmarkerResult {
|
||||
|
||||
const MODEL_URL =
|
||||
import.meta.env.VITE_MEDIAPIPE_MODEL_URL ??
|
||||
'/mediapipe/models/face_landmarker.task';
|
||||
'/mediapipe/assets/face_landmarker.task';
|
||||
|
||||
const WASM_ROOT =
|
||||
import.meta.env.VITE_MEDIAPIPE_WASM_ROOT ??
|
||||
|
||||
Reference in New Issue
Block a user