From 59e29be3635450653cdd2522b49171e0f499ad15 Mon Sep 17 00:00:00 2001 From: Spacefish Date: Mon, 17 Oct 2022 16:57:29 +0200 Subject: [PATCH] object-detection instead of object_detection (#19677) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 19ba6487b5..db24ce9d6a 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ Many tasks have a pre-trained `pipeline` ready to go, in NLP but also in compute >>> image = Image.open(image_data) # Allocate a pipeline for object detection ->>> object_detector = pipeline('object_detection') +>>> object_detector = pipeline('object-detection') >>> object_detector(image) [{'score': 0.9982201457023621, 'label': 'remote',