From 305866ccaeaa614e700f9b9a698af9514bdf17b7 Mon Sep 17 00:00:00 2001 From: kinaryml Date: Thu, 27 Apr 2023 21:11:53 -0700 Subject: [PATCH] Updated BUILD files to use the open sourced Language Detector model --- mediapipe/tasks/python/test/text/BUILD | 2 +- mediapipe/tasks/testdata/text/BUILD | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/mediapipe/tasks/python/test/text/BUILD b/mediapipe/tasks/python/test/text/BUILD index 8d25f2781..be352c84d 100644 --- a/mediapipe/tasks/python/test/text/BUILD +++ b/mediapipe/tasks/python/test/text/BUILD @@ -54,7 +54,7 @@ py_test( name = "language_detector_test", srcs = ["language_detector_test.py"], data = [ - "//mediapipe/tasks/testdata/text:language_detector_model", + "//mediapipe/tasks/testdata/text:language_detector", ], deps = [ "//mediapipe/tasks/python/components/containers:category", diff --git a/mediapipe/tasks/testdata/text/BUILD b/mediapipe/tasks/testdata/text/BUILD index 0a50a229a..701ed0dfa 100644 --- a/mediapipe/tasks/testdata/text/BUILD +++ b/mediapipe/tasks/testdata/text/BUILD @@ -80,11 +80,6 @@ filegroup( ], ) -filegroup( - name = "language_detector_model", - srcs = ["language_detector.tflite"], -) - filegroup( name = "text_classifier_models", srcs = [