Skip to content
Draft
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

This file was deleted.

This file was deleted.

53 changes: 0 additions & 53 deletions genai/image_generation/imggen_mask_free_edit_with_txt_img.py

This file was deleted.

21 changes: 0 additions & 21 deletions genai/image_generation/test_image_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
import imggen_canny_ctrl_type_with_txt_img
import imggen_inpainting_insert_mask_with_txt_img
import imggen_inpainting_insert_with_txt_img
import imggen_inpainting_removal_mask_with_txt_img
import imggen_inpainting_removal_with_txt_img
import imggen_mask_free_edit_with_txt_img
import imggen_outpainting_with_txt_img
import imggen_product_background_mask_with_txt_img
import imggen_product_background_with_txt_img
Expand Down Expand Up @@ -81,18 +78,6 @@ def test_img_edit_inpainting_insert() -> None:
assert response


def test_img_edit_inpainting_removal_mask() -> None:
OUTPUT_FILE = os.path.join(RESOURCES, "fruit_edit.png")
response = imggen_inpainting_removal_mask_with_txt_img.edit_inpainting_removal_mask(OUTPUT_FILE)
assert response


def test_img_edit_inpainting_removal() -> None:
OUTPUT_FILE = os.path.join(RESOURCES, "fruit_edit.png")
response = imggen_inpainting_removal_with_txt_img.edit_inpainting_removal(OUTPUT_FILE)
assert response


def test_img_edit_product_background_mask() -> None:
OUTPUT_FILE = os.path.join(RESOURCES, "suitcase_edit.png")
response = imggen_product_background_mask_with_txt_img.edit_product_background_mask(OUTPUT_FILE)
Expand All @@ -111,12 +96,6 @@ def test_img_edit_outpainting() -> None:
assert response


def test_img_edit_mask_free() -> None:
OUTPUT_FILE = os.path.join(RESOURCES, "latte_edit.png")
response = imggen_mask_free_edit_with_txt_img.edit_mask_free(OUTPUT_FILE)
assert response


def test_img_customization_subject(output_gcs_uri: str) -> None:
response = imggen_subj_refer_ctrl_refer_with_txt_imgs.subject_customization(
output_gcs_uri=output_gcs_uri
Expand Down
Loading