Skip to content

Commit 4c88b94

Browse files
committed
Fix 3.9
Change-Id: If9ff9ebc0b2bf16b91e741d862a9e2808c7a738a
1 parent 21268e3 commit 4c88b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/generativeai/types/image_types/_image_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def __bool__(self):
122122

123123

124124
def check_watermark(
125-
img: pathlib.Path | ImageType, model_id: str = "models/image-verification-001"
125+
img: Union[pathlib.Path, ImageType], model_id: str = "models/image-verification-001"
126126
) -> "CheckWatermarkResult":
127127
"""Checks if an image has a Google-AI watermark.
128128

0 commit comments

Comments
 (0)