diff --git a/tests/pipelines/test_pipelines_image_to_text.py b/tests/pipelines/test_pipelines_image_to_text.py index 2da17a1d225..652c140ae51 100644 --- a/tests/pipelines/test_pipelines_image_to_text.py +++ b/tests/pipelines/test_pipelines_image_to_text.py @@ -64,12 +64,7 @@ class ImageToTextPipelineTests(unittest.TestCase, metaclass=PipelineTestCaseMeta outputs, [ { - "generated_text": ( - " intermedi intermedi intermedi intermedi intermedi " - "explorer explorer explorer explorer explorer explorer " - "explorer medicine medicine medicine medicine medicine " - "medicine medicine" - ) + "generated_text": "growthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthGOGO" }, ], ) @@ -80,23 +75,13 @@ class ImageToTextPipelineTests(unittest.TestCase, metaclass=PipelineTestCaseMeta [ [ { - "generated_text": ( - " intermedi intermedi intermedi intermedi intermedi " - "explorer explorer explorer explorer explorer explorer " - "explorer medicine medicine medicine medicine medicine " - "medicine medicine" - ) - }, + "generated_text": "growthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthGOGO" + } ], [ { - "generated_text": ( - " intermedi intermedi intermedi intermedi intermedi " - "explorer explorer explorer explorer explorer explorer " - "explorer medicine medicine medicine medicine medicine " - "medicine medicine" - ) - }, + "generated_text": "growthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthGOGO" + } ], ], )