From 1112e558a518b44f9df8a734cd5bef565dc90cbc Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Thu, 1 Dec 2022 03:23:58 +0530 Subject: [PATCH] Added constants for text classifier --- .../text/text_classifier/sources/MPPTextClassifier.mm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifier.mm b/mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifier.mm index 56bc4930f..07277874e 100644 --- a/mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifier.mm +++ b/mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifier.mm @@ -18,11 +18,11 @@ #import "mediapipe/tasks/ios/core/sources/MPPTaskInfo.h" #import "mediapipe/tasks/ios/text/text_classifier/utils/sources/MPPTextClassifierOptions+Helpers.h" -NSString *kClassificationsStreamName = @"classifications_out"; -NSString *kClassificationsTag = @"classifications"; -NSString *kTextInStreamName = @"text_in"; -NSString *kTextTag = @"TEXT"; -NSString *kTaskGraphName = @"mediapipe.tasks.text.text_classifier.TextClassifierGraph"; +static NSString *const kClassificationsStreamName = @"classifications_out"; +static NSString *const kClassificationsTag = @"classifications"; +static NSString *const kTextInStreamName = @"text_in"; +static NSString *const kTextTag = @"TEXT"; +static NSString *const kTaskGraphName = @"mediapipe.tasks.text.text_classifier.TextClassifierGraph"; @implementation MPPTextClassifierOptions