Skip to content

Commit 8733b98

Browse files
committed
Fixing bug from merge conflict
1 parent c4d702a commit 8733b98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

genai/text_generation/textgen_with_multi_img.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ def generate_content() -> str:
3232
contents=[
3333
"Generate a list of all the objects contained in both images.",
3434
Part.from_uri(
35-
file_uri="gs://cloud-samples-data/generative-ai/image/scones.jpg",
35+
file_uri=gcs_file_img_path,
3636
mime_type="image/jpeg"
3737
),
38-
Part.from_uri(
39-
file_uri="gs://cloud-samples-data/generative-ai/image/latte.jpg",
38+
Part.from_bytes(
39+
data=local_file_img_bytes,
4040
mime_type="image/jpeg"
4141
)
4242
]

0 commit comments

Comments
 (0)