We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4d702a commit 8733b98Copy full SHA for 8733b98
genai/text_generation/textgen_with_multi_img.py
@@ -32,11 +32,11 @@ def generate_content() -> str:
32
contents=[
33
"Generate a list of all the objects contained in both images.",
34
Part.from_uri(
35
- file_uri="gs://cloud-samples-data/generative-ai/image/scones.jpg",
+ file_uri=gcs_file_img_path,
36
mime_type="image/jpeg"
37
),
38
- Part.from_uri(
39
- file_uri="gs://cloud-samples-data/generative-ai/image/latte.jpg",
+ Part.from_bytes(
+ data=local_file_img_bytes,
40
41
)
42
]
0 commit comments