Skip to content

Commit

Permalink
Skip flaky InferenceAPI test
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin committed Sep 20, 2023
1 parent adef26d commit e3061b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_inference_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e3061b4

Please sign in to comment.