Skip to content

Commit 20d88bb

Browse files
committed
typo
1 parent 6949f03 commit 20d88bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tasks/src/model-libraries-snippets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ const _keras_hub_image_classifier = (modelId: string): string => `
429429
import keras_hub
430430
431431
# Load ImageClassifier model
432-
text_classifier = keras_hub.models.ImageClassifier.from_preset(${modelId})
432+
image_classifier = keras_hub.models.ImageClassifier.from_preset(${modelId})
433433
434434
# Classify image
435435
image_classifier.predict(keras.ops.ones((1, 64, 64, 3)))

0 commit comments

Comments
 (0)