[BLIP] update blip path on slow tests (#21476)

* update blip path

* Update tests/models/blip/test_modeling_blip.py
This commit is contained in:
Younes Belkada
2023-02-17 19:26:36 +01:00
committed by GitHub
parent 087fd5f368
commit 8a4c319d33

View File

@@ -1077,7 +1077,7 @@ class BlipTextImageModelTest(ModelTesterMixin, unittest.TestCase):
# We will verify our results on an image of cute cats # We will verify our results on an image of cute cats
def prepare_img(): def prepare_img():
url = "https://storage.googleapis.com/sfr-vision-language-research/BLIP/demo.jpg" url = "https://huggingface.co/hf-internal-testing/blip-test-image/resolve/main/demo.jpg"
im = Image.open(requests.get(url, stream=True).raw) im = Image.open(requests.get(url, stream=True).raw)
return im return im