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