Internal change
PiperOrigin-RevId: 490375672
This commit is contained in:
parent
837225c53d
commit
3bbc0e9af9
|
@ -24,10 +24,7 @@ mediapipe_files(srcs = [
|
|||
mediapipe_ts_library(
|
||||
name = "audio_lib",
|
||||
srcs = ["audio.ts"],
|
||||
deps = [
|
||||
"//mediapipe/tasks/web/audio/audio_classifier",
|
||||
"//mediapipe/tasks/web/audio/audio_embedder",
|
||||
],
|
||||
deps = ["//mediapipe/tasks/web/audio:audio_lib"],
|
||||
)
|
||||
|
||||
rollup_bundle(
|
||||
|
@ -69,10 +66,7 @@ pkg_npm(
|
|||
mediapipe_ts_library(
|
||||
name = "text_lib",
|
||||
srcs = ["text.ts"],
|
||||
deps = [
|
||||
"//mediapipe/tasks/web/text/text_classifier",
|
||||
"//mediapipe/tasks/web/text/text_embedder",
|
||||
],
|
||||
deps = ["//mediapipe/tasks/web/text:text_lib"],
|
||||
)
|
||||
|
||||
rollup_bundle(
|
||||
|
@ -114,13 +108,7 @@ pkg_npm(
|
|||
mediapipe_ts_library(
|
||||
name = "vision_lib",
|
||||
srcs = ["vision.ts"],
|
||||
deps = [
|
||||
"//mediapipe/tasks/web/vision/gesture_recognizer",
|
||||
"//mediapipe/tasks/web/vision/hand_landmarker",
|
||||
"//mediapipe/tasks/web/vision/image_classifier",
|
||||
"//mediapipe/tasks/web/vision/image_embedder",
|
||||
"//mediapipe/tasks/web/vision/object_detector",
|
||||
],
|
||||
deps = ["//mediapipe/tasks/web/vision:vision_lib"],
|
||||
)
|
||||
|
||||
rollup_bundle(
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {AudioClassifier as AudioClassifierImpl} from '../../tasks/web/audio/audio_classifier/audio_classifier';
|
||||
import {AudioEmbedder as AudioEmbedderImpl} from '../../tasks/web/audio/audio_embedder/audio_embedder';
|
||||
import {AudioClassifier as AudioClassifierImpl, AudioEmbedder as AudioEmbedderImpl} from '../../tasks/web/audio/index';
|
||||
|
||||
// Declare the variables locally so that Rollup in OSS includes them explcilty
|
||||
// as exports.
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {TextClassifier as TextClassifierImpl} from '../../tasks/web/text/text_classifier/text_classifier';
|
||||
import {TextEmbedder as TextEmbedderImpl} from '../../tasks/web/text/text_embedder/text_embedder';
|
||||
import {TextClassifier as TextClassifierImpl, TextEmbedder as TextEmbedderImpl} from '../../tasks/web/text/index';
|
||||
|
||||
// Declare the variables locally so that Rollup in OSS includes them explcilty
|
||||
// as exports.
|
||||
|
|
|
@ -14,11 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import {GestureRecognizer as GestureRecognizerImpl} from '../../tasks/web/vision/gesture_recognizer/gesture_recognizer';
|
||||
import {HandLandmarker as HandLandmarkerImpl} from '../../tasks/web/vision/hand_landmarker/hand_landmarker';
|
||||
import {ImageClassifier as ImageClassifierImpl} from '../../tasks/web/vision/image_classifier/image_classifier';
|
||||
import {ImageEmbedder as ImageEmbedderImpl} from '../../tasks/web/vision/image_embedder/image_embedder';
|
||||
import {ObjectDetector as ObjectDetectorImpl} from '../../tasks/web/vision/object_detector/object_detector';
|
||||
import {GestureRecognizer as GestureRecognizerImpl, HandLandmarker as HandLandmarkerImpl, ImageClassifier as ImageClassifierImpl, ImageEmbedder as ImageEmbedderImpl, ObjectDetector as ObjectDetectorImpl} from '../../tasks/web/vision/index';
|
||||
|
||||
// Declare the variables locally so that Rollup in OSS includes them explcilty
|
||||
// as exports.
|
||||
|
|
Loading…
Reference in New Issue
Block a user