From e3061b4623ac419b5169acbfa89b69f4a8a681b0 Mon Sep 17 00:00:00 2001 From: Lucain Pouget Date: Wed, 20 Sep 2023 11:10:13 +0200 Subject: [PATCH] Skip flaky InferenceAPI test --- tests/test_inference_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_inference_api.py b/tests/test_inference_api.py index ec35013d43..d30fc20d09 100644 --- a/tests/test_inference_api.py +++ b/tests/test_inference_api.py @@ -81,6 +81,7 @@ def test_inference_with_audio(self): self.assertIsInstance(result, dict) self.assertTrue("text" in result, f"We received {result} instead") + @unittest.skip("Model often not loaded") @expect_deprecation("huggingface_hub.inference_api") def test_inference_with_image(self): api = InferenceApi("google/vit-base-patch16-224")