[BLIP] update blip path on slow tests (#21476)
* update blip path * Update tests/models/blip/test_modeling_blip.py
This commit is contained in:
@@ -1077,7 +1077,7 @@ class BlipTextImageModelTest(ModelTesterMixin, unittest.TestCase):
|
||||
|
||||
# We will verify our results on an image of cute cats
|
||||
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)
|
||||
return im
|
||||
|
||||
|
||||
Reference in New Issue
Block a user