Skip to content

Commit

Permalink
Update packages/mediapipe-task-text/lib/src/tasks/text_classification…
Browse files Browse the repository at this point in the history
…/containers/text_classifier_options.dart

Co-authored-by: Kate Lovett <katelovett@google.com>
  • Loading branch information
craiglabenz and Piinks authored Nov 8, 2023
1 parent fb483b4 commit b55d367
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class TextClassifierOptions {
/// Generative constructor.
const TextClassifierOptions({
required this.baseOptions,
ClassifierOptions? classifierOptions,
}) : classifierOptions = classifierOptions ?? const ClassifierOptions();
this.classifierOptions = const ClassifierOptions(),
});

/// Convenience constructor that looks for the model asset at the given file
/// system location.
Expand Down

0 comments on commit b55d367

Please sign in to comment.