diff --git a/integrations/google_vertex/example_assets/robot1.jpg b/integrations/google_vertex/example_assets/robot1.jpg new file mode 100644 index 000000000..a3962db1b Binary files /dev/null and b/integrations/google_vertex/example_assets/robot1.jpg differ diff --git a/integrations/google_vertex/src/haystack_integrations/components/generators/google_vertex/captioner.py b/integrations/google_vertex/src/haystack_integrations/components/generators/google_vertex/captioner.py index 6bf155bb6..14102eb4b 100644 --- a/integrations/google_vertex/src/haystack_integrations/components/generators/google_vertex/captioner.py +++ b/integrations/google_vertex/src/haystack_integrations/components/generators/google_vertex/captioner.py @@ -27,7 +27,11 @@ class VertexAIImageCaptioner: captioner = VertexAIImageCaptioner(project_id=project_id) - image = ByteStream(data=requests.get("https://raw.githubusercontent.com/silvanocerza/robots/main/robot1.jpg").content) + image = ByteStream( + data=requests.get( + "https://raw.githubusercontent.com/deepset-ai/haystack-core-integrations/main/integrations/google_vertex/example_assets/robot1.jpg" + ).content + ) result = captioner.run(image=image) for caption in result["captions"]: