Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def edit_image_inpainting_insert_mask(
output_file: str,
prompt: str,
) -> vision_models.ImageGenerationResponse:

# [START generativeaionvertexai_imagen_edit_image_inpainting_insert_mask]

import vertexai
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def edit_image_inpainting_insert_mask_mode(
output_file: str,
prompt: str,
) -> vision_models.ImageGenerationResponse:

# [START generativeaionvertexai_imagen_edit_image_inpainting_insert_mask_mode]

import vertexai
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def edit_image_inpainting_remove_mask(
output_file: str,
prompt: str,
) -> vision_models.ImageGenerationResponse:

# [START generativeaionvertexai_imagen_edit_image_inpainting_remove_mask]

import vertexai
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def edit_image_inpainting_remove_mask_mode(
output_file: str,
prompt: str,
) -> vision_models.ImageGenerationResponse:

# [START generativeaionvertexai_imagen_edit_image_inpainting_remove_mask_mode]

import vertexai
Expand Down
1 change: 0 additions & 1 deletion generative_ai/imagen/edit_image_mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def edit_image_mask(
output_file: str,
prompt: str,
) -> vision_models.ImageGenerationResponse:

# [START generativeaionvertexai_imagen_edit_image_mask]

import vertexai
Expand Down
1 change: 0 additions & 1 deletion generative_ai/imagen/edit_image_mask_free.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
def edit_image_mask_free(
project_id: str, input_file: str, output_file: str, prompt: str
) -> vision_models.ImageGenerationResponse:

# [START generativeaionvertexai_imagen_edit_image_mask_free]

import vertexai
Expand Down
1 change: 0 additions & 1 deletion generative_ai/imagen/edit_image_outpainting_mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def edit_image_outpainting_mask(
output_file: str,
prompt: str,
) -> vision_models.ImageGenerationResponse:

# [START generativeaionvertexai_imagen_edit_image_outpainting_mask]

import vertexai
Expand Down
1 change: 0 additions & 1 deletion generative_ai/imagen/edit_image_product_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def edit_image_product_image(
output_file: str,
prompt: str,
) -> vision_models.ImageGenerationResponse:

# [START generativeaionvertexai_imagen_edit_image_product_image]

import vertexai
Expand Down
1 change: 0 additions & 1 deletion generative_ai/imagen/get_short_form_image_captions.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@


def get_short_form_image_captions(project_id: str, input_file: str) -> list:

# [START generativeaionvertexai_imagen_get_short_form_image_captions]

import vertexai
Expand Down
1 change: 0 additions & 1 deletion generative_ai/imagen/get_short_form_image_responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
def get_short_form_image_responses(
project_id: str, input_file: str, question: str
) -> list:

# [START generativeaionvertexai_imagen_get_short_form_image_responses]

import vertexai
Expand Down
Loading